diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2018-03-15 16:13:47 +0100 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2018-03-16 11:52:46 +0100 |
| commit | b1d872b38eaacefbef73faa6a4a0c07622a8c941 (patch) | |
| tree | 1ac251b0d6c126a49d59a1662b63dc2d139f5f29 /src/test/ui/error-codes | |
| parent | 910bf840cce1da57b96f7ac15f8b803675bb8a3b (diff) | |
| download | rust-b1d872b38eaacefbef73faa6a4a0c07622a8c941.tar.gz rust-b1d872b38eaacefbef73faa6a4a0c07622a8c941.zip | |
Update tests
Diffstat (limited to 'src/test/ui/error-codes')
| -rw-r--r-- | src/test/ui/error-codes/E0404.stderr | 3 | ||||
| -rw-r--r-- | src/test/ui/error-codes/E0405.stderr | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/test/ui/error-codes/E0404.stderr b/src/test/ui/error-codes/E0404.stderr index 9f705da5861..afb748bedbe 100644 --- a/src/test/ui/error-codes/E0404.stderr +++ b/src/test/ui/error-codes/E0404.stderr @@ -10,5 +10,6 @@ error[E0404]: expected trait, found struct `Foo` LL | fn baz<T: Foo>(_: T) {} //~ ERROR E0404 | ^^^ not a trait -error: cannot continue compilation due to previous error +error: aborting due to 2 previous errors +For more information about this error, try `rustc --explain E0404`. diff --git a/src/test/ui/error-codes/E0405.stderr b/src/test/ui/error-codes/E0405.stderr index b5901dd9c84..27190af1c6c 100644 --- a/src/test/ui/error-codes/E0405.stderr +++ b/src/test/ui/error-codes/E0405.stderr @@ -4,5 +4,6 @@ error[E0405]: cannot find trait `SomeTrait` in this scope LL | impl SomeTrait for Foo {} //~ ERROR E0405 | ^^^^^^^^^ not found in this scope -error: cannot continue compilation due to previous error +error: aborting due to previous error +For more information about this error, try `rustc --explain E0405`. |
