diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2021-02-12 19:32:14 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-12 19:32:14 +0900 |
| commit | 46aef0e37525db778d1a31dd48a0fd3678bf2b71 (patch) | |
| tree | bbdd30b6fd994a430e8d6bfb193f6424cdc4550e /compiler/rustc_codegen_llvm/src | |
| parent | 459dda98ebdb797c233bdb01ace54b3f30b577f8 (diff) | |
| parent | e03f09730faab8083f991827f0cd02040d171d4e (diff) | |
| download | rust-46aef0e37525db778d1a31dd48a0fd3678bf2b71.tar.gz rust-46aef0e37525db778d1a31dd48a0fd3678bf2b71.zip | |
Rollup merge of #81990 - matsujika:suggest-mut-reference, r=estebank
Make suggestion of changing mutability of arguments broader Fix #81421 Previously rustc tries to emit the suggestion of changing mutablity unless `!trait_ref.has_infer_types_or_consts() && self.predicate_can_apply(obligation.param_env, trait_ref)` and this led to some false negatives to occur.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
