blob: 8537286303516add86878f661f332e8038975042 [file] [log] [blame]
use std::ops::Add;
fn main() {
let i: i32 = 0;
let j: &impl Add = &i;
//~^ ERROR `impl Trait` is not allowed in the type of variable bindings
}