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