about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-03-08 22:43:56 +0100
committerGitHub <noreply@github.com>2022-03-08 22:43:56 +0100
commit568736b98fa6909ae91696b6bd8e1d66f75bfe2d (patch)
treed750e9f8f2226eedad8fe8f4443b1f6a770567da /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parent64187b837486be90b897c7014572aa3537dc9b27 (diff)
parentb726bfb56902eaa743f7164ce502afbdd232562c (diff)
downloadrust-568736b98fa6909ae91696b6bd8e1d66f75bfe2d.tar.gz
rust-568736b98fa6909ae91696b6bd8e1d66f75bfe2d.zip
Rollup merge of #94689 - compiler-errors:on-unimplemented-substs, r=petrochenkov
Use impl substs in `#[rustc_on_unimplemented]`

We were using the trait-ref substs instead of impl substs in `rustc_on_unimplemented`, even when computing the `rustc_on_unimplemented` attached to an impl block. Let's not do that.

This PR also untangles impl and trait def-ids in the logic in `on_unimplemented` a bit.

Fixes #94675
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions