]> git.lizzy.rs Git - rust.git/blob - tests/ui/typeck/issue-33575.rs
fn-trait-closure test now pass on new solver
[rust.git] / tests / ui / typeck / issue-33575.rs
1 fn main() {
2     let baz = ().foo(); //~ ERROR no method named `foo` found
3     <i32 as std::str::FromStr>::from_str(&baz); // No complaints about `str` being unsized
4 }