rust/src/test/ui/save-analysis/issue-59134-1.rs
Igor Matuszewski 0af18eed10 Appease tidy
2019-05-09 16:15:53 +02:00

13 lines
266 B
Rust

// compile-flags: -Zsave-analysis
// Check that this doesn't ICE when processing associated const (type).
fn func() {
trait Trait {
type MyType;
const CONST: Self::MyType = bogus.field; //~ ERROR cannot find value `bogus`
}
}
fn main() {}