2015-09-13 15:14:04 -05:00
|
|
|
use std::ops::BitXor;
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let x: u8 = BitXor::bitor(0 as u8, 0 as u8);
|
|
|
|
//~^ ERROR must be specified
|
2017-06-02 15:20:36 -05:00
|
|
|
//~| no function or associated item named
|
2015-09-13 15:14:04 -05:00
|
|
|
|
|
|
|
let g = BitXor::bitor;
|
|
|
|
//~^ ERROR must be specified
|
2017-06-02 15:20:36 -05:00
|
|
|
//~| no function or associated item named
|
|
|
|
}
|