rust/tests/ui/suggestions/issue-107860.rs
2024-02-16 20:02:50 +00:00

7 lines
103 B
Rust

//@ edition: 2021
async fn str<T>(T: &str) -> &str { &str }
//~^ ERROR mismatched types
fn main() {}