about summary refs log tree commit diff
path: root/tests/ui/suggestions/issue-107860.rs
blob: 0b7b8bc65bfc3fdff9e9ba421afb8ca3d790e2ca (plain)
1
2
3
4
5
6
//@ edition: 2021

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

fn main() {}