try to fix unnecessarily fragile smir test
This commit is contained in:
parent
6e190fa993
commit
132921e187
@ -137,9 +137,9 @@ fn generate_input(path: &str) -> std::io::Result<()> {
|
||||
write!(
|
||||
file,
|
||||
r#"
|
||||
#![feature(panic_internals)]
|
||||
fn panic_str(msg: &str) {{ panic!("{{}}", msg); }}
|
||||
pub fn dummy() {{
|
||||
core::panicking::panic_str("oops");
|
||||
panic_str("oops");
|
||||
}}
|
||||
"#
|
||||
)?;
|
||||
|
Loading…
Reference in New Issue
Block a user