rust/tests/ui/typeck/autoderef-with-param-env-er...

10 lines
121 B
Rust

fn foo()
where
T: Send,
//~^ cannot find type `T` in this scope
{
let s = "abc".to_string();
}
fn main() {}