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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
103 B
Rust
Raw Normal View History

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