Sign in
fuchsia
/
third_party
/
rust
/
11a0b968c287c81680387ffcf112328d52d7e815
/
.
/
src
/
test
/
ui
/
span
/
typo-suggestion.rs
blob: e9d7bc65ef5b55c4ce4ab74c269bc7bfd4bf8027 [
file
] [
log
] [
blame
]
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
}