Skip to content

Commit

Permalink
try to fix unnecessarily fragile smir test
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Apr 23, 2024
1 parent 6e190fa commit 132921e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ui-fulldeps/stable-mir/check_transform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}}
"#
)?;
Expand Down

0 comments on commit 132921e

Please sign in to comment.