Skip to content

Commit

Permalink
Update ui tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Oct 10, 2019
1 parent 847ad6a commit 3c62bdc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/test/ui/auto-trait-validation.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ LL | auto trait MyTrait { fn foo() {} }

error: aborting due to 3 previous errors

Some errors have detailed explanations: E0380, E0567.
Some errors have detailed explanations: E0380, E0567, E0568.
For more information about an error, try `rustc --explain E0380`.
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ LL | let (a, b) = copy(NoClone);

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0277`.
Some errors have detailed explanations: E0277, E0568.
For more information about an error, try `rustc --explain E0277`.
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ LL | auto trait Magic : Sized where Option<Self> : Magic {}

error: aborting due to previous error

For more information about this error, try `rustc --explain E0568`.
1 change: 1 addition & 0 deletions src/test/ui/typeck/typeck-auto-trait-no-supertraits.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ LL | auto trait Magic: Copy {}

error: aborting due to previous error

For more information about this error, try `rustc --explain E0568`.

0 comments on commit 3c62bdc

Please sign in to comment.