]> git.lizzy.rs Git - rust.git/blob - tests/ui/resolve/issue-21221-4.rs
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[rust.git] / tests / 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 }