Skip to content

Commit

Permalink
CI: add cfg flag test
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFrasier committed Aug 8, 2023
1 parent 16f53db commit 7bb403a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions marker_uilints/tests/ui/cfg_attr_check.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#![cfg_attr(marker, feature(register_tool))]
#![cfg_attr(marker, register_tool(marker))]

mod cfg_attr_scope {
#[cfg_attr(marker, allow(marker::item_with_test_name))]
fn find_me_fn() {}
}

0 comments on commit 7bb403a

Please sign in to comment.