Files
rust/tests/crashes/135128.rs
2025-03-03 23:09:42 +00:00

13 lines
211 B
Rust

//@ known-bug: #135128
//@ compile-flags: -Copt-level=1 --edition=2021
#![feature(trivial_bounds)]
async fn return_str() -> str
where
str: Sized,
{
*"Sized".to_string().into_boxed_str()
}
fn main() {}