Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
parser
/
trailing-plus-in-bounds.rs
blob: ef9bdadb2825a0fbf6bb6810e7907fc836353345 [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
#![
allow
(
bare_trait_objects
)]
use
std
::
fmt
::
Debug
;
fn
main
()
{
let
x
:
Box
<
Debug
+>
=
Box
::
new
(
3
)
as
Box
<
Debug
+>;
// Trailing `+` is OK
}