mirror of
https://github.com/rust-lang/rust.git
synced 2025-09-28 05:34:45 +00:00
13 lines
230 B
Rust
13 lines
230 B
Rust
//@ run-rustfix
|
|
#![allow(dead_code)]
|
|
|
|
fn demo1() {
|
|
let _last = u64 = 0; //~ ERROR expected value, found builtin type `u64`
|
|
}
|
|
|
|
fn demo2() {
|
|
let _val = u64; //~ ERROR expected value, found builtin type `u64`
|
|
}
|
|
|
|
fn main() {}
|