diff options
| author | Andy Russell <arussell123@gmail.com> | 2019-04-17 13:26:38 -0400 |
|---|---|---|
| committer | Andy Russell <arussell123@gmail.com> | 2019-04-18 13:29:28 -0400 |
| commit | b6f148c8bdf2dd1beb11445441366934f8b61f74 (patch) | |
| tree | fe60feeb8dfd4786e6892d38b318602493b72d92 /src/test/ui/structs | |
| parent | e577e49b9f5ba0f1e9c3e66d67ef7cf82dc11c0e (diff) | |
| download | rust-b6f148c8bdf2dd1beb11445441366934f8b61f74.tar.gz rust-b6f148c8bdf2dd1beb11445441366934f8b61f74.zip | |
hide `--explain` hint if error has no extended info
Diffstat (limited to 'src/test/ui/structs')
5 files changed, 5 insertions, 5 deletions
diff --git a/src/test/ui/structs/struct-field-cfg.stderr b/src/test/ui/structs/struct-field-cfg.stderr index 565866a682a..29bad31ef96 100644 --- a/src/test/ui/structs/struct-field-cfg.stderr +++ b/src/test/ui/structs/struct-field-cfg.stderr @@ -26,5 +26,5 @@ LL | let Foo { present: (), #[cfg(all())] absent: () } = foo; error: aborting due to 4 previous errors -Some errors occurred: E0026, E0027, E0063, E0560. +Some errors have detailed explanations: E0026, E0027, E0063, E0560. For more information about an error, try `rustc --explain E0026`. diff --git a/src/test/ui/structs/struct-pat-derived-error.stderr b/src/test/ui/structs/struct-pat-derived-error.stderr index 92a88defc52..673715cd3ef 100644 --- a/src/test/ui/structs/struct-pat-derived-error.stderr +++ b/src/test/ui/structs/struct-pat-derived-error.stderr @@ -18,5 +18,5 @@ LL | let A { x, y } = self.d; error: aborting due to 3 previous errors -Some errors occurred: E0026, E0027, E0609. +Some errors have detailed explanations: E0026, E0027, E0609. For more information about an error, try `rustc --explain E0026`. diff --git a/src/test/ui/structs/struct-path-associated-type.stderr b/src/test/ui/structs/struct-path-associated-type.stderr index f054bd3d297..7cfbd7b720b 100644 --- a/src/test/ui/structs/struct-path-associated-type.stderr +++ b/src/test/ui/structs/struct-path-associated-type.stderr @@ -54,5 +54,5 @@ LL | S::A {} => {} error: aborting due to 9 previous errors -Some errors occurred: E0071, E0109, E0223. +Some errors have detailed explanations: E0071, E0109, E0223. For more information about an error, try `rustc --explain E0071`. diff --git a/src/test/ui/structs/struct-path-self.stderr b/src/test/ui/structs/struct-path-self.stderr index d9e84acdb3c..9eaa1f95bd0 100644 --- a/src/test/ui/structs/struct-path-self.stderr +++ b/src/test/ui/structs/struct-path-self.stderr @@ -36,5 +36,5 @@ LL | let z = Self::<u8> {}; error: aborting due to 6 previous errors -Some errors occurred: E0071, E0109. +Some errors have detailed explanations: E0071, E0109. For more information about an error, try `rustc --explain E0071`. diff --git a/src/test/ui/structs/structure-constructor-type-mismatch.stderr b/src/test/ui/structs/structure-constructor-type-mismatch.stderr index 375678b7cee..62d872bb3e4 100644 --- a/src/test/ui/structs/structure-constructor-type-mismatch.stderr +++ b/src/test/ui/structs/structure-constructor-type-mismatch.stderr @@ -141,5 +141,5 @@ LL | PairF::<u32> { .. } => {} error: aborting due to 13 previous errors -Some errors occurred: E0107, E0308. +Some errors have detailed explanations: E0107, E0308. For more information about an error, try `rustc --explain E0107`. |
