Auto merge of #80714 - jakevossen5:master, r=lcnr
fixed const_generics error help Closes https://github.com/rust-lang/rust/issues/80702
This commit is contained in:
commit
8fec6c7bb9
29 changed files with 55 additions and 55 deletions
|
@ -330,7 +330,7 @@ fn check_param_wf(tcx: TyCtxt<'_>, param: &hir::GenericParam<'_>) {
|
|||
),
|
||||
)
|
||||
.note("the only supported types are integers, `bool` and `char`")
|
||||
.help("more complex types are supported with `#[feature(const_generics)]`")
|
||||
.help("more complex types are supported with `#![feature(const_generics)]`")
|
||||
.emit()
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue