// test for ICE #119275 "no entry found for key" in predicates_of.rs #![feature(generic_const_exprs)] #![allow(incomplete_features)] fn bug(&self) //~^ ERROR `self` parameter is only allowed in associated functions //~^^ ERROR cannot find type `Nat` in this scope where for [(); COT::BYTES]:, //~^ ERROR only lifetime parameters can be used in this context //~^^ ERROR defaults for generic parameters are not allowed in `for<...>` binders //~^^^ ERROR defaults for generic parameters are not allowed in `for<...>` binders //~^^^^ ERROR failed to resolve: use of undeclared type `COT` { } pub fn main() {}