]> git.lizzy.rs Git - rust.git/blob - src/test/ui/typeck/issue-89806.rs
Rollup merge of #90102 - nbdd0121:box3, r=jonas-schievink
[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 }