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

@ -443,7 +443,7 @@ impl<'a, 'tcx> Visitor<'tcx> for Annotator<'a, 'tcx> {
fn visit_generic_param(&mut self, p: &'tcx hir::GenericParam<'tcx>) {
let kind = match &p.kind {
// FIXME(const_generics:defaults)
// FIXME(const_generics_defaults)
hir::GenericParamKind::Type { default, .. } if default.is_some() => {
AnnotationKind::Container
}