]> git.lizzy.rs Git - rust.git/blob - tests/ui/typeck/issue-89806.rs
Rollup merge of #106664 - chenyukang:yukang/fix-106597-remove-lseek, r=cuviper
[rust.git] / tests / ui / typeck / issue-89806.rs
1 fn main() {
2     0u8.as_ref(); //~ ERROR no method named `as_ref` found for type `u8` in the current scope
3 }