10 lines
254 B
Rust
10 lines
254 B
Rust
fn main() {
|
|
let foo = 1;
|
|
|
|
// `foo` shouldn't be suggested, it is too dissimilar from `bar`.
|
|
println!("Hello {}", bar); //~ ERROR cannot find value
|
|
|
|
// But this is close enough.
|
|
println!("Hello {}", fob); //~ ERROR cannot find value
|
|
}
|