Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
issues
/
issue-14915.rs
blob: 294533f0cbb75c094e118913706281ad9237ab7b [
file
] [
log
] [
blame
]
#![
feature
(
box_syntax
)]
fn
main
()
{
let
x
:
Box
<
isize
>
=
box
0
;
println
!(
"{}"
,
x
+
1
);
//~^ ERROR binary operation `+` cannot be applied to type `std::boxed::Box<isize>`
}