mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
10 lines
328 B
Rust
10 lines
328 B
Rust
trait NewTrait : SomeNonExistentTrait {}
|
|
//~^ ERROR cannot find trait `SomeNonExistentTrait` in this scope
|
|
|
|
impl SomeNonExistentTrait for isize {}
|
|
//~^ ERROR cannot find trait `SomeNonExistentTrait` in this scope
|
|
|
|
fn f<T:SomeNonExistentTrait>() {}
|
|
//~^ ERROR cannot find trait `SomeNonExistentTrait` in this scope
|
|
|
|
fn main() {}
|