]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/macro_path_as_generic_bound.rs
Merge commit 'ea199bacef07213dbe008841b89c450e3bf0c638' into rustfmt-sync
[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() {}