Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
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
}