blob: b3c667103555a6e1382ee3976f5783f2aadb5b53 (
plain)
1
2
3
4
5
6
7
8
|
#![feature(marker_trait_attr)]
#[marker]
trait A {}
impl<'a> A for (&'static (), &'a ()) {} //~ ERROR type annotations needed
impl<'a> A for (&'a (), &'static ()) {} //~ ERROR type annotations needed
fn main() {}
|