]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/macro_path_as_generic_bound.rs
Sync rust-lang/portable-simd@03f6fbb21e6050da2a05b3ce8f480c020b384916
[rust.git] / src / test / ui / macros / macro_path_as_generic_bound.rs
1 trait Foo {}
2
3 macro_rules! foo(($t:path) => {
4     impl<T: $t> Foo for T {}
5 });
6
7 foo!(m::m2::A); //~ ERROR failed to resolve
8
9 fn main() {}