]> git.lizzy.rs Git - rust.git/blob - tests/ui/typeck/issue-96738.rs
Rollup merge of #107355 - JohnTitor:issue-60755, r=compiler-errors
[rust.git] / tests / ui / typeck / issue-96738.rs
1 fn main() {
2     Some.nonexistent_method(); //~ ERROR: no method named `nonexistent_method` found
3     Some.nonexistent_field; //~ ERROR: no field `nonexistent_field`
4 }