about summary refs log tree commit diff
path: root/tests/ui/issues
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-08-06 11:12:45 +0200
committerRalf Jung <post@ralfj.de>2024-08-06 11:17:26 +0200
commitac23a2e5cd288ea6c160ecd51ea64662d3443dd4 (patch)
tree5b24fae6a54a9904016065a917a0f670a5b6d90f /tests/ui/issues
parent8c7e0e160831866bc1a40691a39455aac21271c0 (diff)
downloadrust-ac23a2e5cd288ea6c160ecd51ea64662d3443dd4.tar.gz
rust-ac23a2e5cd288ea6c160ecd51ea64662d3443dd4.zip
bump conflicting_repr_hints lint to be shown in dependencies
Diffstat (limited to 'tests/ui/issues')
-rw-r--r--tests/ui/issues/issue-47094.stderr25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/ui/issues/issue-47094.stderr b/tests/ui/issues/issue-47094.stderr
index 970e3184710..1c6693403b8 100644
--- a/tests/ui/issues/issue-47094.stderr
+++ b/tests/ui/issues/issue-47094.stderr
@@ -23,3 +23,28 @@ LL | #[repr(u8)]
 error: aborting due to 2 previous errors
 
 For more information about this error, try `rustc --explain E0566`.
+Future incompatibility report: Future breakage diagnostic:
+error[E0566]: conflicting representation hints
+  --> $DIR/issue-47094.rs:1:8
+   |
+LL | #[repr(C, u8)]
+   |        ^  ^^
+   |
+   = 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 #68585 <https://github.com/rust-lang/rust/issues/68585>
+   = note: `#[deny(conflicting_repr_hints)]` on by default
+
+Future breakage diagnostic:
+error[E0566]: conflicting representation hints
+  --> $DIR/issue-47094.rs:8:8
+   |
+LL | #[repr(C)]
+   |        ^
+LL |
+LL | #[repr(u8)]
+   |        ^^
+   |
+   = 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 #68585 <https://github.com/rust-lang/rust/issues/68585>
+   = note: `#[deny(conflicting_repr_hints)]` on by default
+