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 6, 2019
1 parent c5e0d6e commit 57cb881
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
7 changes: 2 additions & 5 deletions src/librustc/error_codes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1705,12 +1705,9 @@ Conflicting representation hints have been used on a same item.
Erroneous code example:
```compile_fail,E0566
# #![deny(warnings)]
# fn main() {
#[repr(u32, u64)] // error!
```
#[repr(u32, u64)] // warning!
enum Repr { A }
# }
```
In most cases (if not all), using just one representation hint is more than
Expand Down
1 change: 1 addition & 0 deletions src/test/ui/conflicting-repr-hints.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,4 @@ LL | | }

error: aborting due to 8 previous errors

For more information about this error, try `rustc --explain E0566`.
3 changes: 2 additions & 1 deletion src/test/ui/feature-gates/feature-gate-repr-simd.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ LL | #[repr(simd)]

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0658`.
Some errors have detailed explanations: E0566, E0658.
For more information about an error, try `rustc --explain E0566`.

0 comments on commit 57cb881

Please sign in to comment.