blob: b349c47328bb5748fe81823fbae166b69082a6fc [file] [log] [blame]
use std::fmt::Debug;
fn main() {
let x: Option<impl Debug> = Some(44_u32);
//~^ ERROR `impl Trait` is not allowed in the type of variable bindings
println!("{:?}", x);
}