Some refactoring
This commit is contained in:
parent
e4e5db4e42
commit
8ef81388e2
27 changed files with 74 additions and 89 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue