rust/tests/ui/issues/issue-46332.rs

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
}