Sign in
android
/
toolchain
/
rustc
/
da60c8575e02ed54fcffcb7f2f9289b4705b60ff
/
.
/
src
/
test
/
ui
/
parser
/
trailing-plus-in-bounds.rs
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
}