mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-01 00:00:10 +02:00
macros: suppress clippy::default_numeric_fallback lint in generated code (#3831)
This commit is contained in:
@@ -132,7 +132,7 @@ fn useful_panic_message_when_dropping_rt_in_rt() {
|
||||
let err: &'static str = err.downcast_ref::<&'static str>().unwrap();
|
||||
|
||||
assert!(
|
||||
err.find("Cannot drop a runtime").is_some(),
|
||||
err.contains("Cannot drop a runtime"),
|
||||
"Wrong panic message: {:?}",
|
||||
err
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user