diff options
author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-05-04 08:09:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-04 08:09:07 +0200 |
commit | b4d992fec740dc9a6ff42a0500026fe5b25db74a (patch) | |
tree | e564cb140f4a1810a37345ae13ebf069c9969ff0 /tests/rustdoc-js-std/parser-errors.js | |
parent | f2bc7e0684f1c30dd93b1b18dda1b30037ec3881 (diff) | |
parent | 4d0887e1a27ab0f57515bdb01644db597c110bdd (diff) | |
download | rust-b4d992fec740dc9a6ff42a0500026fe5b25db74a.tar.gz |
Rollup merge of #111103 - BoxyUwU:normal_fold_with_gce_norm, r=compiler-errors
correctly recurse when expanding anon consts
recursing with `super_fold_with` is wrong in case `bac` is itself normalizable, the test that was supposed to test for this being wrong did not actually test for this in reality because of the usage of `{ (N) }` instead of `{{ N }}`. The former resulting in a simple `ConstKind::Param` instead of `ConstKind::Unevaluated`. Tbh generally this test seems very brittle and it will be a lot easier to test once we have normalization of assoc consts since then we can just test that `T::ASSOC` normalizes to some `U::OTHER` which normalizes to some third thing.
r? `@compiler-errors`
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions