]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/weird-braces.rs
normalize stderr
[rust.git] / src / test / ui / proc-macro / weird-braces.rs
1 // aux-build:test-macros.rs
2 // check-pass
3 // compile-flags: -Z span-debug
4
5 #![feature(custom_inner_attributes)]
6
7 #![no_std] // Don't load unnecessary hygiene information from std
8 extern crate std;
9
10 extern crate test_macros;
11 use test_macros::{print_target_and_args};
12
13 struct Foo<const V: bool>;
14 trait Bar<const V: bool> {}
15
16 #[print_target_and_args(first_outer)]
17 #[print_target_and_args(second_outer)]
18 impl Bar<{1 > 0}> for Foo<{true}> {
19     #![print_target_and_args(first_inner)]
20     #![print_target_and_args(second_inner)]
21 }
22
23 fn main() {}