about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-03-11 19:35:31 +0100
committerGitHub <noreply@github.com>2025-03-11 19:35:31 +0100
commit4ff58c910359ee334c3551728c3132724da6b862 (patch)
treebbf804586aea371037b9c938d45349e53aacff77 /compiler/rustc_codegen_llvm/src/errors.rs
parent55abd7fc82d84539912ebf7c28b2ad266d7b6a7f (diff)
parented6dfddfeb345e0fe94ef735a54d6290d278a6b8 (diff)
downloadrust-4ff58c910359ee334c3551728c3132724da6b862.tar.gz
rust-4ff58c910359ee334c3551728c3132724da6b862.zip
Rollup merge of #138256 - compiler-errors:anon-const-ty, r=BoxyUwU
Do not feed anon const a type that references generics that it does not have

Fixes #137865

See the comment I left in the code. We could alternatively give these anon consts the generics from the parent, but that would be moving in a GCE-esque direction that we may not want. Open to tweaks here.

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