diff options
Diffstat (limited to 'src/test/ui/pattern/issue-88074-pat-range-type-inference.rs')
-rw-r--r-- | src/test/ui/pattern/issue-88074-pat-range-type-inference.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/test/ui/pattern/issue-88074-pat-range-type-inference.rs b/src/test/ui/pattern/issue-88074-pat-range-type-inference.rs deleted file mode 100644 index 27db7d8c7..000000000 --- a/src/test/ui/pattern/issue-88074-pat-range-type-inference.rs +++ /dev/null @@ -1,16 +0,0 @@ -// check-pass - -trait Zero { - const ZERO: Self; -} - -impl Zero for i32 { - const ZERO: Self = 0; -} - -fn main() { - match 1 { - Zero::ZERO ..= 1 => {}, - _ => {}, - } -} |