summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/issue-107860.rs
blob: a6449cd44d0f8dade937382c7267fb7bc8ad08ba (plain)
1
2
3
4
5
6
// edition: 2021

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

fn main() {}