Sign in
rust
/
rust-lang
/
rust
/
refs/heads/beta
/
.
/
tests
/
ui
/
error-codes
/
E0010.rs
blob: edb96714dd320e51c9131be5cafd1699ee64b884 [
file
] [
log
] [
blame
]
#![
allow
(
warnings
)]
const
CON
:
Vec
<
i32
>
=
vec
![
1
,
2
,
3
];
//~ ERROR E0010
//~| ERROR cannot call non-const method
fn
main
()
{}