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