rust/src/test/ui/issues/issue-28344.rs
2018-12-25 21:08:33 -07:00

12 lines
272 B
Rust

use std::ops::BitXor;
fn main() {
let x: u8 = BitXor::bitor(0 as u8, 0 as u8);
//~^ ERROR must be specified
//~| no function or associated item named
let g = BitXor::bitor;
//~^ ERROR must be specified
//~| no function or associated item named
}