]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-46438.rs
Rollup merge of #86479 - exphp-forks:float-debug-exponential, r=yaahc
[rust.git] / src / test / ui / issues / issue-46438.rs
1 macro_rules! m {
2     ($my_type: ty) => {
3         impl $my_type for u8 {}
4     }
5 }
6
7 trait Tr {}
8
9 m!(Tr);
10
11 m!(&'static u8); //~ ERROR expected a trait, found type
12
13 fn main() {}