rust/src/test/ui/issues/issue-21950.rs
2019-05-29 00:57:31 -04:00

9 lines
133 B
Rust

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