]> git.lizzy.rs Git - rust.git/blob - src/test/ui/attributes/tool_attributes.rs
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / attributes / tool_attributes.rs
1 // run-pass
2 // Scoped attributes should not trigger an unused attributes lint.
3
4 #![deny(unused_attributes)]
5
6 fn main() {
7     #[rustfmt::skip]
8     foo ();
9 }
10
11 fn foo() {
12     assert!(true);
13 }