mirror of
https://github.com/rust-lang/rust
synced 2024-09-05 00:24:52 +00:00
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 a new issue