blob: 3213e068053714e8e8556d10c667a35a5311c321 [file] [log] [blame]
// compile-pass
#![feature(box_syntax)]
#![allow(bare_trait_objects)]
use std::fmt::Debug;
fn main() {
let x: Box<Debug+> = box 3 as Box<Debug+>; // Trailing `+` is OK
}