1
Fork 0

adjust const generics defaults FIXMEs to the new feature gate

This commit is contained in:
Rémy Rakic 2020-12-31 02:50:23 +01:00
parent 907ba75eb0
commit 1fc3c4c16d
13 changed files with 14 additions and 14 deletions

View file

@ -214,7 +214,7 @@ enum ResolutionError<'a> {
/// Error E0530: `X` bindings cannot shadow `Y`s.
BindingShadowsSomethingUnacceptable(&'static str, Symbol, &'a NameBinding<'a>),
/// Error E0128: type parameters with a default cannot use forward-declared identifiers.
ForwardDeclaredTyParam, // FIXME(const_generics:defaults)
ForwardDeclaredTyParam, // FIXME(const_generics_defaults)
/// ERROR E0770: the type of const parameters must not depend on other generic parameters.
ParamInTyOfConstParam(Symbol),
/// constant values inside of type parameter defaults must not depend on generic parameters.