1 // aux-build:test-macros.rs
3 // compile-flags: -Z span-debug
5 #![feature(custom_inner_attributes)]
7 #![no_std] // Don't load unnecessary hygiene information from std
10 extern crate test_macros;
11 use test_macros::{print_target_and_args};
13 struct Foo<const V: bool>;
14 trait Bar<const V: bool> {}
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)]