mirror of
https://github.com/rust-lang/rust
synced 2024-11-02 08:25:31 +00:00
try to fix unnecessarily fragile smir test
This commit is contained in:
parent
6e190fa993
commit
132921e187
1 changed files with 2 additions and 2 deletions
|
@ -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