Added stderr files for ui tests

This commit is contained in:
Sunjay Varma 2017-11-09 23:52:44 -05:00
parent 332a3cb169
commit 1b196fa324
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,8 @@
error: expected one of `>`, identifier, or lifetime, found `,`
--> $DIR/empty_generics.rs:14:14
|
14 | type Bar<,>;
| ^ expected one of `>`, identifier, or lifetime here
error: aborting due to previous error

View file

@ -0,0 +1,24 @@
error: equality constraints are not yet supported in where clauses (#20041)
--> $DIR/generic_associated_types_equals.rs:15:21
|
15 | type X<T> where T = f64;
| ^^^^^^^
error[E0412]: cannot find type `T` in this scope
--> $DIR/generic_associated_types_equals.rs:15:21
|
15 | type X<T> where T = f64;
| ^ not found in this scope
error: defaults for type parameters are only allowed in `struct`, `enum`, `type`, or `trait` definitions.
--> $DIR/generic_associated_types_equals.rs:14:14
|
14 | type Bar<T=usize>;
| ^
|
= note: #[deny(invalid_type_param_default)] on by default
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #36887 <https://github.com/rust-lang/rust/issues/36887>
error: aborting due to 3 previous errors