blob: ae218237a8d5c49bce5bcb7980873dbec53f7c69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
//@ 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() {}
|