Add note to use nightly when using expr in const generics

This commit is contained in:
mendess 2020-11-24 09:35:08 +00:00
parent d9a105fdd4
commit b7593e5070
22 changed files with 41 additions and 0 deletions

View file

@ -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