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

11 lines
156 B
Rust

// ignore-tidy-linelength
use std::ops::Add;
fn main() {
let x = &10 as
&Add;
//~^ ERROR E0393
//~| ERROR E0191
}