about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-06-27 08:06:46 +0200
committerGitHub <noreply@github.com>2022-06-27 08:06:46 +0200
commit43dd0e2424a1086e0d9d649f717b3646da6586b6 (patch)
tree921c85bf70f40a09829523d678cded26ad5ab950 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent3694e40ffa55d65cb72148570f0fcab311741586 (diff)
parentc1f4f980f4706365d56136f8761537f8e9b56bb4 (diff)
downloadrust-43dd0e2424a1086e0d9d649f717b3646da6586b6.tar.gz
rust-43dd0e2424a1086e0d9d649f717b3646da6586b6.zip
Rollup merge of #97780 - compiler-errors:field-wfcheck-before-sized, r=jackh726
Check ADT field is well-formed before checking it is sized

Fixes #96810.

There is one diagnostics regression, in [`src/test/ui/generic-associated-types/bugs/issue-80626.stderr`](https://github.com/rust-lang/rust/pull/97780/files#diff-53795946378e78a0af23a10277c628ff79091c18090fdc385801ee70c1ba6963). I am not super concerned about it, since it's GAT related.
We _could_ fix it, possibly by using the `FieldSized` obligation cause code instead of `BuiltinDerivedObligation`. But that would require changing `Sized` trait confirmation and the `adt_sized_constraint` query.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions