2013-07-03 22:16:08 +01:00
|
|
|
trait NewTrait : SomeNonExistentTrait {}
|
2017-01-12 01:18:08 +03:00
|
|
|
//~^ ERROR cannot find trait `SomeNonExistentTrait` in this scope
|
2013-07-03 22:16:08 +01:00
|
|
|
|
2015-01-08 21:54:35 +11:00
|
|
|
impl SomeNonExistentTrait for isize {}
|
2017-01-12 01:18:08 +03:00
|
|
|
//~^ ERROR cannot find trait `SomeNonExistentTrait` in this scope
|
2013-07-03 22:16:08 +01:00
|
|
|
|
|
|
|
fn f<T:SomeNonExistentTrait>() {}
|
2017-01-12 01:18:08 +03:00
|
|
|
//~^ ERROR cannot find trait `SomeNonExistentTrait` in this scope
|
2018-08-23 02:19:38 +03:00
|
|
|
|
|
|
|
fn main() {}
|