rapx/preprocess/
mod.rs

1pub mod dummy_fns;
2pub mod ssa_preprocess;
3
4use rustc_ast::{token::CommentKind, *};
5use rustc_span::{DUMMY_SP, symbol::Symbol};
6
7/// Empty `#[doc]` on the struct.
8/// cc https://github.com/Artisan-Lab/RAPx/issues/184
9pub fn doc_attr() -> Attribute {
10    Attribute {
11        kind: AttrKind::DocComment(CommentKind::Line, Symbol::intern("doc")),
12        id: AttrId::ZERO,
13        style: AttrStyle::Outer,
14        span: DUMMY_SP,
15    }
16}