Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (7 sloc) 212 Bytes
// build-pass (FIXME(62277): could be check-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
}
You can’t perform that action at this time.