blob: eabce1aeff14030e48d58264fab8329b7cffaa7e (
plain)
1
2
3
4
5
6
7
8
9
|
#![feature(marker_trait_attr)]
#[marker]
trait Marker {}
impl Marker for &'_ () {} //~ ERROR type annotations needed
impl Marker for &'_ () {} //~ ERROR type annotations needed
fn main() {}
|