about summary refs log tree commit diff
path: root/src/librustdoc/html/static/js/source-script.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-07-14 15:31:15 +0000
committerbors <bors@rust-lang.org>2023-07-14 15:31:15 +0000
commit5767cad9b8b58a5c0521c5ddd652a24d0c65f466 (patch)
treef8ea4e88a2ea59c4cf5e1e301490cb5dd8e454a8 /src/librustdoc/html/static/js/source-script.js
parentbacf5bcbc7dae526872cf6af3fc0064a51b1efa2 (diff)
parente55583c4b831c601452117a8eb20af59779ef582 (diff)
downloadrust-5767cad9b8b58a5c0521c5ddd652a24d0c65f466.tar.gz
rust-5767cad9b8b58a5c0521c5ddd652a24d0c65f466.zip
Auto merge of #113591 - mdibaiee:genericargs-cleanup, r=oli-obk
refactor(rustc_middle): Substs -> GenericArg

resolves #110793

- [x] rename `SubstsRef` and `InternalSubsts` to `GenericArgsRef<'tcx>` and `GenericArgs<'tcx>`.
- [x] rename variables and fields currently using `substs` to `args`.
- [x] update the module name of `ty::subst` to `ty::generic_args` or sth. Make that module private and publicly reexport its content in the ty module.
- [x] rename `EarlyBinder::subst(_identity)` to `EarlyBinder::instantiate(_identity)`.
- [x] types called `[a-zA-Z]+Substs` renamed to `XArgs`.
- [x] functions containing `substs` now use `args` or `generic_args` (mostly the former).

However, the verb of "substituting" is still being used here and there, mostly in comments. I think that can be a separate PR as part of https://github.com/rust-lang/rust/issues/110254 to change the verb to `replace_generics` or something similar.
Diffstat (limited to 'src/librustdoc/html/static/js/source-script.js')
0 files changed, 0 insertions, 0 deletions