mirror of
https://github.com/rust-lang/rust.git
synced 2025-09-28 21:55:31 +00:00
13 lines
228 B
Rust
13 lines
228 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() {}
|