#![feature(generic_associated_types)]
- //~^ WARNING: the feature `generic_associated_types` is incomplete
trait X {
type Y<'a>;
//~| ERROR this associated type takes 0 generic arguments but 1 generic argument
//~| ERROR this associated type takes 1 lifetime argument but 0 lifetime arguments
//~| WARNING: trait objects without an explicit `dyn` are deprecated
- //~| WARNING: this was previously accepted by the compiler
+ //~| WARNING: this is accepted in the current edition
fn main() {}