about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-04-30 22:36:40 +0200
committerGitHub <noreply@github.com>2025-04-30 22:36:40 +0200
commit372b15e55e5573e92ba2ff65d4df1821299fe998 (patch)
tree5262952c5c7a821fc1fb78d6b928f54c1e9d5412 /compiler/rustc_interface/src/errors.rs
parent6769d323167954d2277fe20b9efc4d0e0912f165 (diff)
parentbe906131de0079173048194c368ebefaa5e426d4 (diff)
downloadrust-372b15e55e5573e92ba2ff65d4df1821299fe998.tar.gz
rust-372b15e55e5573e92ba2ff65d4df1821299fe998.zip
Rollup merge of #140467 - BoxyUwU:no_fcw_assoc_consts, r=lcnr
Don't FCW assoc consts in patterns

Fixes #140447

See comment in added test. We could also check that the anon const is a const arg by looking at the HIR. I'm not sure that's necessary though :thinking: The only consts that are evaluated "for the type system" are const args (which *should* get FCWs) and const patterns (which cant be anon consts afaik).
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions