]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0637.rs
Added docs to internal_macro const
[rust.git] / src / test / ui / error-codes / E0637.rs
1 struct Foo<'a: '_>(&'a u8); //~ ERROR cannot be used here
2 fn foo<'a: '_>(_: &'a u8) {} //~ ERROR cannot be used here
3
4 struct Bar<'a>(&'a u8);
5 impl<'a: '_> Bar<'a> { //~ ERROR cannot be used here
6   fn bar() {}
7 }
8
9 fn main() {}