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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
270 B
Rust
Raw Normal View History

// 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
}