rust/tests/ui/suggestions/issue-107860.rs

7 lines
102 B
Rust
Raw Normal View History

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