blob: a0871ca18094ed89d5377cb02fa01bbe670a5055 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// compile-flags: -Zsave-analysis
// Check that this doesn't ICE when processing associated const (field expr).
pub fn f() {
trait Trait {}
impl dyn Trait {
const FLAG: u32 = bogus.field; //~ ERROR cannot find value `bogus`
}
}
fn main() {}
|