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