]> git.lizzy.rs Git - rust.git/blob - src/test/ui/save-analysis/issue-59134-1.rs
Appease tidy
[rust.git] / src / test / ui / save-analysis / issue-59134-1.rs
1 // compile-flags: -Zsave-analysis
2
3 // Check that this doesn't ICE when processing associated const (type).
4
5 fn func() {
6     trait Trait {
7         type MyType;
8         const CONST: Self::MyType = bogus.field; //~ ERROR cannot find value `bogus`
9     }
10 }
11
12 fn main() {}