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