about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-10-16 19:10:51 +0200
committerGitHub <noreply@github.com>2023-10-16 19:10:51 +0200
commitb0572f1a12f323c0f806f78d775bc4a7c29d80aa (patch)
treee99e4e16ebb9637d17e1846f8d13181d6ef8ca6e /compiler/rustc_codegen_llvm/src/errors.rs
parent98ea131a6e5f3e358a1967975b19730d32b3a0a4 (diff)
parent743e6d16011db62351db1ac384cf38524421acbf (diff)
downloadrust-b0572f1a12f323c0f806f78d775bc4a7c29d80aa.tar.gz
rust-b0572f1a12f323c0f806f78d775bc4a7c29d80aa.zip
Rollup merge of #116802 - compiler-errors:anchor-opaque-wf, r=oli-obk
Remove `DefiningAnchor::Bubble` from opaque wf check

Set the defining anchor to `DefiningAnchor::Bind(parent_def_id)` where `parent_def_id` is the first parent def-id that isn't an opaque.

This "fixes" some of the nested-return-type wf tests. If we *do* want these to be hard-errors for TAITs, we should probably make those error separately from this check (i.e. via some check like the code in the `OPAQUE_HIDDEN_INFERRED_BOUND` lint). The fact that some of these tests fail but not all of them seems kinda coincidental.

r? oli-obk
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions