]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/issue-35075.rs
Add 'src/tools/rust-analyzer/' from commit '977e12a0bdc3e329af179ef3a9d466af9eb613bb'
[rust.git] / src / test / ui / lint / issue-35075.rs
1 struct Bar<T> {
2     inner: Foo<T> //~ ERROR cannot find type `Foo` in this scope
3 }
4
5 enum Baz<T> {
6     Foo(Foo<T>) //~ ERROR cannot find type `Foo` in this scope
7 }
8
9 fn main() {}