summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/ignore-err-impls.rs
blob: 67e880b006a7f9135ae8e3b9b5bee9bf81cfce88 (plain)
1
2
3
4
5
6
7
8
9
pub struct S;

trait Generic<T> {}

impl<'a, T> Generic<&'a T> for S {}
impl Generic<Type> for S {}
//~^ ERROR cannot find type `Type` in this scope

fn main() {}