rust/tests/ui/issues/issue-46332.rs
2023-01-11 09:32:08 +00:00

12 lines
270 B
Rust

// Original Levenshtein distance for both of this is 1. We improved accuracy with
// additional case insensitive comparison.
struct TyUint {}
struct TyInt {}
fn main() {
TyUInt {};
//~^ ERROR cannot find struct, variant or union type `TyUInt` in this scope
}