]> git.lizzy.rs Git - rust.git/blob - tests/ui/marker_trait_attr/overlap-marker-trait-with-underscore-lifetime.rs
Move /src/test to /tests
[rust.git] / tests / ui / marker_trait_attr / overlap-marker-trait-with-underscore-lifetime.rs
1 #![feature(marker_trait_attr)]
2
3 #[marker]
4 trait Marker {}
5
6 impl Marker for &'_ () {} //~ ERROR type annotations needed
7 impl Marker for &'_ () {} //~ ERROR type annotations needed
8
9 fn main() {}