]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/issue-21221-4.rs
Merge commit 'b40ea209e7f14c8193ddfc98143967b6a2f4f5c9' into clippyup
[rust.git] / src / test / ui / resolve / issue-21221-4.rs
1 // testing whether the lookup mechanism picks up types
2 // defined in the outside crate
3
4 // aux-build:issue-21221-4.rs
5
6 extern crate issue_21221_4;
7
8 struct Foo;
9
10 impl T for Foo {}
11 //~^ ERROR cannot find trait `T`
12
13 fn main() {
14     println!("Hello, world!");
15 }