// known-bug: unknown // failure-status: 101 // normalize-stderr-test "note: .*\n\n" -> "" // normalize-stderr-test "thread 'rustc' panicked.*\n" -> "" // rustc-env:RUST_BACKTRACE=0 // FIXME: I presume a type variable that couldn't be solved by `resolve_vars_if_possible` // escapes the InferCtxt snapshot. #![feature(inherent_associated_types)] #![allow(incomplete_features)] struct Cont(T); impl Cont { type Out = Vec; } pub fn weird(x: T) { let _: Cont<_>::Out = vec![true]; } fn main() {}