2016-12-01 01:35:25 +03:00
|
|
|
fn f<F:Nonexist(isize) -> isize>(x: F) {}
|
2017-11-20 13:13:27 +01:00
|
|
|
//~^ ERROR cannot find trait `Nonexist`
|
2014-09-05 21:27:47 -07:00
|
|
|
|
2015-01-08 21:54:35 +11:00
|
|
|
type Typedef = isize;
|
2014-09-05 21:27:47 -07:00
|
|
|
|
2016-12-01 01:35:25 +03:00
|
|
|
fn g<F:Typedef(isize) -> isize>(x: F) {}
|
|
|
|
//~^ ERROR expected trait, found type alias `Typedef`
|
2014-09-05 21:27:47 -07:00
|
|
|
|
|
|
|
fn main() {}
|