Add helper function to suggest multiple constraints
Add `rustc_middle::ty::suggest_constraining_type_params` that suggests adding multiple constraints. `suggest_constraining_type_param` now just forwards params to this new function.
This commit is contained in:
parent
97cde9fe08
commit
4c7fb9efb7
2 changed files with 236 additions and 163 deletions
|
@ -56,6 +56,7 @@
|
|||
#![feature(nonzero_ops)]
|
||||
#![feature(unwrap_infallible)]
|
||||
#![feature(decl_macro)]
|
||||
#![feature(drain_filter)]
|
||||
#![recursion_limit = "512"]
|
||||
#![allow(rustc::potential_query_instability)]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue