@@ -61,7 +61,7 @@ warning: panic message is not a string literal
6161LL | assert!(false, S);
6262 | ^
6363 |
64- = note: this usage of panic !() is deprecated; it will be a hard error in Rust 2021
64+ = note: this usage of assert !() is deprecated; it will be a hard error in Rust 2021
6565 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
6666help: add a "{}" format string to Display the message
6767 |
@@ -74,7 +74,7 @@ warning: panic message is not a string literal
7474LL | assert!(false, 123);
7575 | ^^^
7676 |
77- = note: this usage of panic !() is deprecated; it will be a hard error in Rust 2021
77+ = note: this usage of assert !() is deprecated; it will be a hard error in Rust 2021
7878 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
7979help: add a "{}" format string to Display the message
8080 |
@@ -87,7 +87,7 @@ warning: panic message is not a string literal
8787LL | assert!(false, Some(123));
8888 | ^^^^^^^^^
8989 |
90- = note: this usage of panic !() is deprecated; it will be a hard error in Rust 2021
90+ = note: this usage of assert !() is deprecated; it will be a hard error in Rust 2021
9191 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
9292help: add a "{:?}" format string to use the Debug implementation of `Option<i32>`
9393 |
@@ -138,7 +138,7 @@ warning: panic message is not a string literal
138138LL | std::panic!(123);
139139 | ^^^
140140 |
141- = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
141+ = note: this usage of std:: panic!() is deprecated; it will be a hard error in Rust 2021
142142 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
143143help: add a "{}" format string to Display the message
144144 |
@@ -155,7 +155,7 @@ warning: panic message is not a string literal
155155LL | core::panic!(&*"abc");
156156 | ^^^^^^^
157157 |
158- = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021
158+ = note: this usage of core:: panic!() is deprecated; it will be a hard error in Rust 2021
159159 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
160160help: add a "{}" format string to Display the message
161161 |
@@ -253,7 +253,7 @@ warning: panic message is not a string literal
253253LL | assert!(false, format!("{}", 1));
254254 | ^^^^^^^^^^^^^^^^
255255 |
256- = note: this usage of panic !() is deprecated; it will be a hard error in Rust 2021
256+ = note: this usage of assert !() is deprecated; it will be a hard error in Rust 2021
257257 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
258258 = note: the assert!() macro supports formatting, so there's no need for the format!() macro here
259259help: remove the `format!(..)` macro call
@@ -268,7 +268,7 @@ warning: panic message is not a string literal
268268LL | debug_assert!(false, format!("{}", 1));
269269 | ^^^^^^^^^^^^^^^^
270270 |
271- = note: this usage of panic !() is deprecated; it will be a hard error in Rust 2021
271+ = note: this usage of debug_assert !() is deprecated; it will be a hard error in Rust 2021
272272 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
273273 = note: the debug_assert!() macro supports formatting, so there's no need for the format!() macro here
274274help: remove the `format!(..)` macro call
@@ -328,7 +328,7 @@ warning: panic message is not a string literal
328328LL | assert!(false, v);
329329 | ^
330330 |
331- = note: this usage of panic !() is deprecated; it will be a hard error in Rust 2021
331+ = note: this usage of assert !() is deprecated; it will be a hard error in Rust 2021
332332 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
333333
334334warning: panic message is not a string literal
@@ -354,7 +354,7 @@ warning: panic message is not a string literal
354354LL | assert!(false, v);
355355 | ^
356356 |
357- = note: this usage of panic !() is deprecated; it will be a hard error in Rust 2021
357+ = note: this usage of assert !() is deprecated; it will be a hard error in Rust 2021
358358 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
359359help: add a "{:?}" format string to use the Debug implementation of `T`
360360 |
@@ -384,7 +384,7 @@ warning: panic message is not a string literal
384384LL | assert!(false, v);
385385 | ^
386386 |
387- = note: this usage of panic !() is deprecated; it will be a hard error in Rust 2021
387+ = note: this usage of assert !() is deprecated; it will be a hard error in Rust 2021
388388 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
389389help: add a "{}" format string to Display the message
390390 |
@@ -414,7 +414,7 @@ warning: panic message is not a string literal
414414LL | assert!(false, v);
415415 | ^
416416 |
417- = note: this usage of panic !() is deprecated; it will be a hard error in Rust 2021
417+ = note: this usage of assert !() is deprecated; it will be a hard error in Rust 2021
418418 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
419419help: add a "{}" format string to Display the message
420420 |
0 commit comments