2016-07-30 10:58:30 -05:00
|
|
|
struct Bar<T> {
|
2017-01-11 16:18:08 -06:00
|
|
|
inner: Foo<T> //~ ERROR cannot find type `Foo` in this scope
|
2016-07-30 10:58:30 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
enum Baz<T> {
|
2017-01-11 16:18:08 -06:00
|
|
|
Foo(Foo<T>) //~ ERROR cannot find type `Foo` in this scope
|
2016-07-30 10:58:30 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|