Skip to content

Commit 855420c

Browse files
committed
try to fix unnecesarily frgaile smir test
1 parent 6e190fa commit 855420c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ui-fulldeps/stable-mir/check_transform.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ fn generate_input(path: &str) -> std::io::Result<()> {
137137
write!(
138138
file,
139139
r#"
140-
#![feature(panic_internals)]
140+
fn panic_str(msg: &str) {{ panic!("{}", str); }}
141141
pub fn dummy() {{
142-
core::panicking::panic_str("oops");
142+
panic_str("oops");
143143
}}
144144
"#
145145
)?;

0 commit comments

Comments
 (0)