Add note to use nightly when using expr in const generics
This commit is contained in:
parent
d9a105fdd4
commit
b7593e5070
22 changed files with 41 additions and 0 deletions
|
@ -480,6 +480,7 @@ impl<'a> Resolver<'a> {
|
|||
"const parameters may only be used as standalone arguments, i.e. `{}`",
|
||||
name
|
||||
));
|
||||
err.note("use feature(const_generics) and feature(const_evaluatable_checked) to enable this");
|
||||
}
|
||||
|
||||
err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue