Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
parser
/
trailing-plus-in-bounds.rs
blob: 33c30d731087795996a48735fd23b3dfcb18c113 [
file
] [
log
] [
blame
]
// 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
}