Sign in
fuchsia
/
third_party
/
rust
/
51cc3cdcf060c1bf3e4d45947f7a6bc20f9960f7
/
.
/
src
/
test
/
ui
/
parser
/
trailing-plus-in-bounds.rs
blob: 153f942b978a88d979c8d6e6ce4b94853dc1fa2d [
file
] [
log
] [
blame
]
// compile-pass
// compile-flags: -Z continue-parse-after-error
#![
feature
(
box_syntax
)]
use
std
::
fmt
::
Debug
;
fn
main
()
{
let
x
:
Box
<
Debug
+>
=
box
3
as
Box
<
Debug
+>;
// Trailing `+` is OK
}