Sign in
fuchsia
/
third_party
/
rust
/
1e3b57ee7754702ce9fcef73686b5bcee405dd4a
/
.
/
src
/
test
/
ui
/
error-codes
/
E0010-teach.rs
blob: da51035ab555062b2e03c26a658f14690a0d301c [
file
] [
log
] [
blame
]
// compile-flags: -Z teach
#![
feature
(
box_syntax
)]
#![
allow
(
warnings
)]
const
CON
:
Box
<
i32
>
=
box
0
;
//~ ERROR E0010
//~^ ERROR constant contains unimplemented expression type
fn
main
()
{}