]> git.lizzy.rs Git - rust.git/blob - src/test/ui/typeck/issue-89806.rs
Rollup merge of #88205 - danii:e0772, r=GuillaumeGomez
[rust.git] / src / test / 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 }