mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
10 lines
138 B
Rust
10 lines
138 B
Rust
trait Foo {}
|
|
|
|
macro_rules! foo(($t:path) => {
|
|
impl<T: $t> Foo for T {}
|
|
});
|
|
|
|
foo!(m::m2::A); //~ ERROR failed to resolve
|
|
|
|
fn main() {}
|