about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-05-18 08:41:18 +0200
committerGitHub <noreply@github.com>2022-05-18 08:41:18 +0200
commita2c2720e09202e1f988ff568efa4dcac8a71a504 (patch)
tree540179ca7bc9385501adc59c6ade1586bc03364a /compiler/rustc_codegen_llvm/src
parent2d95c6acab4a8988ede533e52710d960d11ae038 (diff)
parentac5366b669b5a4f9a6c7e231ac6f99e709c44fe9 (diff)
downloadrust-a2c2720e09202e1f988ff568efa4dcac8a71a504.tar.gz
rust-a2c2720e09202e1f988ff568efa4dcac8a71a504.zip
Rollup merge of #97123 - ricked-twice:issue-96223-clean-fix, r=jackh726
Clean fix for #96223

Okay, so here we are (hopefully) :+1:

Closes #96223

Thanks a lot to `@jackh726` for your help and explanation :pray:

- Modified `InferCtxt::mk_trait_obligation_with_new_self_ty` to take as argument a `Binder<(TraitPredicate, Ty)>` instead of a `Binder<TraitPredicate>` and a separate `Ty` with no bound vars.

- Modified all call places to avoid calling `Binder::no_bounds_var` or `Binder::skip_binder` when it is not safe.

r? `@jackh726`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions