]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-46332.rs
Rollup merge of #106896 - Ezrashaw:str-cast-bool-emptyness, r=compiler-errors
[rust.git] / tests / ui / issues / issue-46332.rs
1 // Original Levenshtein distance for both of this is 1. We improved accuracy with
2 // additional case insensitive comparison.
3
4 struct TyUint {}
5
6 struct TyInt {}
7
8 fn main() {
9     TyUInt {};
10     //~^ ERROR cannot find struct, variant or union type `TyUInt` in this scope
11 }