]> git.lizzy.rs Git - rust.git/blob - tests/ui/typeck/issue-33575.rs
Rollup merge of #106726 - cmorin6:fix-comment-typos, r=Nilstrieb
[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 }