Files
rust/tests/ui/suggestions/let-binding-suggest-issue-133713.fixed

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
228 B
Rust
Raw Normal View History

//@ 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() {}