]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/macro_path_as_generic_bound.rs
Rollup merge of #106714 - Ezrashaw:remove-e0490, r=davidtwco
[rust.git] / tests / 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() {}