Skip to content

Commit 8f678f2

Browse files
Add #[rustc_dyn_incompatible_trait] to the list of inert attrs
We really should update that list automatically.
1 parent ff0528c commit 8f678f2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

crates/hir-expand/src/inert_attr_macro.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -702,6 +702,7 @@ pub const INERT_ATTRIBUTES: &[BuiltinAttribute] = &[
702702
rustc_attr!(TEST, rustc_dump_program_clauses, Normal, template!(Word), WarnFollowing),
703703
rustc_attr!(TEST, rustc_dump_env_program_clauses, Normal, template!(Word), WarnFollowing),
704704
rustc_attr!(TEST, rustc_object_lifetime_default, Normal, template!(Word), WarnFollowing),
705+
rustc_attr!(TEST, rustc_dyn_incompatible_trait, Normal, template!(Word), WarnFollowing),
705706
rustc_attr!(TEST, rustc_dump_vtable, Normal, template!(Word), WarnFollowing),
706707
rustc_attr!(TEST, rustc_dummy, Normal, template!(Word /* doesn't matter*/), DuplicatesOk),
707708
gated!(

0 commit comments

Comments
 (0)