diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-04-30 22:36:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-30 22:36:40 +0200 |
| commit | 372b15e55e5573e92ba2ff65d4df1821299fe998 (patch) | |
| tree | 5262952c5c7a821fc1fb78d6b928f54c1e9d5412 /compiler/rustc_interface/src/errors.rs | |
| parent | 6769d323167954d2277fe20b9efc4d0e0912f165 (diff) | |
| parent | be906131de0079173048194c368ebefaa5e426d4 (diff) | |
| download | rust-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
