diff options
| author | León Orell Valerian Liehr <me@fmease.dev> | 2024-04-16 01:12:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-16 01:12:36 +0200 |
| commit | 9cc26b598a8b60dac7d5a16f55a51a0b117ab9bc (patch) | |
| tree | d09d8e239212b99659b1aea6a58d1279951defef /tests/rustdoc-js-std/parser-reference.js | |
| parent | 3493a56529b3f972205f2cdda920132deef4b475 (diff) | |
| parent | 98890be9c4572201fe2dc73dc6af70efe3071e83 (diff) | |
| download | rust-9cc26b598a8b60dac7d5a16f55a51a0b117ab9bc.tar.gz rust-9cc26b598a8b60dac7d5a16f55a51a0b117ab9bc.zip | |
Rollup merge of #123016 - compiler-errors:no-type-var-origin, r=lcnr
Remove `TypeVariableOriginKind` and `ConstVariableOriginKind` It's annoying to have to import `TypeVariableOriginKind` just to fill it with `MiscVariable` for almost every use. Every other usage other than `TypeParameterDefinition` wasn't even used -- I can see how it may have been useful once for debugging, but I do quite a lot of typeck debugging and I've never really needed it. So let's just remove it, and keep around the only useful thing which is the `DefId` of the param for `var_for_def`. This is based on #123006, which removed the special use of `TypeVariableOriginKind::OpaqueInference`, which I'm pretty sure I was the one that added. r? lcnr or re-roll to types
Diffstat (limited to 'tests/rustdoc-js-std/parser-reference.js')
0 files changed, 0 insertions, 0 deletions
