mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 11:48:30 +00:00
11 lines
182 B
Rust
11 lines
182 B
Rust
//@ known-bug: #135128
|
|
//@ compile-flags: -Copt-level=1 --edition=2021
|
|
|
|
async fn return_str() -> str
|
|
where
|
|
str: Sized,
|
|
{
|
|
*"Sized".to_string().into_boxed_str()
|
|
}
|
|
fn main() {}
|