1 // Regression test for diagnostic issue #76191
2 #![allow(non_snake_case)]
4 use std::ops::RangeInclusive;
6 const RANGE: RangeInclusive<i32> = 0..=255;
8 const RANGE2: RangeInclusive<i32> = panic!();
14 //~^ ERROR mismatched types
16 //~^ ERROR mismatched types