diff options
| author | Noah Lev <camelidcamel@gmail.com> | 2021-11-09 20:59:45 -0800 |
|---|---|---|
| committer | Noah Lev <camelidcamel@gmail.com> | 2021-11-09 21:10:42 -0800 |
| commit | c20ee3e4d6cf00e80544227aee2e682ce52ab03e (patch) | |
| tree | aef85b43a52b9a1c6489c1e8f415232922aa64f7 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | c615b11aa7a4e41a7b11c9bfb3a4fe101c4f973f (diff) | |
| download | rust-c20ee3e4d6cf00e80544227aee2e682ce52ab03e.tar.gz rust-c20ee3e4d6cf00e80544227aee2e682ce52ab03e.zip | |
Add comments ensuring that generics are cleaned before args
Otherwise, rustdoc panics with messages like this: thread 'rustc' panicked at 'assertion failed: cx.impl_trait_bounds.is_empty()', src/librustdoc/clean/utils.rs:462:5 This ordering requirement is unrelated to the `clean_fn_decl_with_args` refactoring, but the requirement was uncovered as part of that change. I'm not sure if *all* of these places have the requirement, but I added comments to them just in case.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
