]> git.lizzy.rs Git - rust.git/blob - tests/ui/typeck/issue-33575.rs
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[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 }