1
Fork 0

Some refactoring

This commit is contained in:
varkor 2020-12-30 15:34:53 +00:00 committed by kadmin
parent e4e5db4e42
commit 8ef81388e2
27 changed files with 74 additions and 89 deletions

View file

@ -1180,7 +1180,7 @@ impl<'a> Visitor<'a> for AstValidator<'a> {
default.value.span,
"default values for const generic parameters are unstable",
);
err.note("to enable them use #![feature(const_generic_defaults)]");
err.help("add `#![feature(const_generic_defaults)]` to the crate attributes to enable");
err.emit();
break;
}