]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/issue-21221-4.rs
Rollup merge of #87180 - notriddle:notriddle/sidebar-keyboard-mobile, r=GuillaumeGomez
[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 }