Skip to content

Commit 78f83f0

Browse files
committed
Inline attrs.
1 parent c768617 commit 78f83f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_ast/src/ast_traits.rs

+1
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ macro_rules! impl_has_attrs {
279279
impl HasAttrs for $T {
280280
const SUPPORTS_CUSTOM_INNER_ATTRS: bool = $inner;
281281

282+
#[inline]
282283
fn attrs(&self) -> &[Attribute] {
283284
&self.attrs
284285
}

0 commit comments

Comments
 (0)