2016-07-31 00:58:30 +09:00
|
|
|
struct Bar<T> {
|
2017-01-12 01:18:08 +03:00
|
|
|
inner: Foo<T> //~ ERROR cannot find type `Foo` in this scope
|
2016-07-31 00:58:30 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
enum Baz<T> {
|
2017-01-12 01:18:08 +03:00
|
|
|
Foo(Foo<T>) //~ ERROR cannot find type `Foo` in this scope
|
2016-07-31 00:58:30 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|