bless tests with new lint messages · rust-lang/rust@c5ff4bf (original) (raw)

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

234 files changed

lines changed

Lines changed: 1 addition & 1 deletion

Original file line number Diff line number Diff line change
@@ -330,7 +330,7 @@ LL | if X.is_some() {
330 330 |
331 331 = note: for more information, see https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html
332 332 = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
333 - = note: `#[deny(static_mut_refs)]` on by default
333 + = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
334 334
335 335 error: aborting due to 36 previous errors
336 336

Lines changed: 1 addition & 1 deletion

Original file line number Diff line number Diff line change
@@ -165,7 +165,7 @@ LL | fn cdecl_ptr(f: extern "cdecl" fn()) {
165 165 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
166 166 = note: for more information, see issue #137018 https://github.com/rust-lang/rust/issues/137018
167 167 = help: use `extern "C"` instead
168 - = note: `#[warn(unsupported_calling_conventions)]` on by default
168 + = note: `#[warn(unsupported_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
169 169
170 170 warning: "cdecl" is not a supported ABI for the current target
171 171 --> $DIR/unsupported.rs:104:1

Lines changed: 1 addition & 1 deletion

Original file line number Diff line number Diff line change
@@ -147,7 +147,7 @@ LL | fn cdecl_ptr(f: extern "cdecl" fn()) {
147 147 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
148 148 = note: for more information, see issue #137018 https://github.com/rust-lang/rust/issues/137018
149 149 = help: use `extern "C"` instead
150 - = note: `#[warn(unsupported_calling_conventions)]` on by default
150 + = note: `#[warn(unsupported_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
151 151
152 152 warning: "cdecl" is not a supported ABI for the current target
153 153 --> $DIR/unsupported.rs:104:1

Lines changed: 1 addition & 1 deletion

Original file line number Diff line number Diff line change
@@ -159,7 +159,7 @@ LL | fn cdecl_ptr(f: extern "cdecl" fn()) {
159 159 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
160 160 = note: for more information, see issue #137018 https://github.com/rust-lang/rust/issues/137018
161 161 = help: use `extern "C"` instead
162 - = note: `#[warn(unsupported_calling_conventions)]` on by default
162 + = note: `#[warn(unsupported_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
163 163
164 164 warning: "cdecl" is not a supported ABI for the current target
165 165 --> $DIR/unsupported.rs:104:1

Lines changed: 1 addition & 1 deletion

Original file line number Diff line number Diff line change
@@ -159,7 +159,7 @@ LL | fn cdecl_ptr(f: extern "cdecl" fn()) {
159 159 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
160 160 = note: for more information, see issue #137018 https://github.com/rust-lang/rust/issues/137018
161 161 = help: use `extern "C"` instead
162 - = note: `#[warn(unsupported_calling_conventions)]` on by default
162 + = note: `#[warn(unsupported_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
163 163
164 164 warning: "cdecl" is not a supported ABI for the current target
165 165 --> $DIR/unsupported.rs:104:1

Lines changed: 1 addition & 1 deletion

Original file line number Diff line number Diff line change
@@ -141,7 +141,7 @@ LL | fn cdecl_ptr(f: extern "cdecl" fn()) {
141 141 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
142 142 = note: for more information, see issue #137018 https://github.com/rust-lang/rust/issues/137018
143 143 = help: use `extern "C"` instead
144 - = note: `#[warn(unsupported_calling_conventions)]` on by default
144 + = note: `#[warn(unsupported_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
145 145
146 146 warning: "cdecl" is not a supported ABI for the current target
147 147 --> $DIR/unsupported.rs:104:1

Lines changed: 1 addition & 1 deletion

Original file line number Diff line number Diff line change
@@ -109,7 +109,7 @@ LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
109 109 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
110 110 = note: for more information, see issue #137018 https://github.com/rust-lang/rust/issues/137018
111 111 = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"`
112 - = note: `#[warn(unsupported_calling_conventions)]` on by default
112 + = note: `#[warn(unsupported_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
113 113
114 114 warning: "stdcall" is not a supported ABI for the current target
115 115 --> $DIR/unsupported.rs:87:1

Lines changed: 1 addition & 1 deletion

Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ warning: trait `Bar` is never used
4 4 LL | trait Bar: Foo {
5 5 | ^^^
6 6 |
7 - = note: `#[warn(dead_code)]` on by default
7 + = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
8 8
9 9 warning: 1 warning emitted
10 10

Lines changed: 1 addition & 1 deletion

| Original file line number | Diff line number | Diff line change | | | ----------------------------------------------------------------- | ---------------------------------------------------------------------------------- | --------------------------------------------------- | | | @@ -6,7 +6,7 @@ LL | trait Tr2<'a> { fn tr2(self) -> &'a Self; } | | | | | 6 | 6 | | | | | 7 | 7 | | method in this trait | | | 8 | 8 | | | | | 9 | | - = note: `#[warn(dead_code)]` on by default | | | | 9 | + = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default | | | | 10 | 10 | | | | 11 | 11 | warning: 1 warning emitted | | | 12 | 12 | | |

Lines changed: 1 addition & 1 deletion

Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ warning: trait `IntoIteratorX` is never used
4 4 LL | trait IntoIteratorX {
5 5 | ^^^^^^^^^^^^^
6 6 |
7 - = note: `#[warn(dead_code)]` on by default
7 + = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
8 8
9 9 warning: 1 warning emitted
10 10