]> git.proxmox.com Git - rustc.git/blob - src/test/ui/parser/trailing-plus-in-bounds.rs
New upstream version 1.33.0+dfsg1
[rustc.git] / src / test / ui / parser / trailing-plus-in-bounds.rs
1 // compile-pass
2 // compile-flags: -Z continue-parse-after-error
3
4 #![feature(box_syntax)]
5
6 use std::fmt::Debug;
7
8 fn main() {
9 let x: Box<Debug+> = box 3 as Box<Debug+>; // Trailing `+` is OK
10 }