blob: 85321de579a825f337a47be9c79d61c3f39303b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// testing whether the lookup mechanism picks up types
// defined in the outside crate
//@ aux-build:issue-21221-4.rs
extern crate issue_21221_4;
struct Foo;
impl T for Foo {}
//~^ ERROR cannot find trait `T`
fn main() {
println!("Hello, world!");
}
|