]> git.lizzy.rs Git - rust.git/blob - tests/ui/typeck/issue-33575.rs
Auto merge of #106092 - asquared31415:start_lang_item_checks, r=davidtwco
[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 }