about summary refs log tree commit diff
path: root/src/test/rustdoc/normalize-assoc-item.rs
AgeCommit message (Collapse)AuthorLines
2020-11-29Add -Z normalize-docs and enable it for compiler docsJoshua Nelson-1/+1
2020-11-27Revert the effect of #77467 by disabling normalization in rustdocoli-0/+1
2020-11-24Track `ParamEnv`s properlyJoshua Nelson-1/+6
This uses the same `with_param_env` pattern that late lints use. Thanks to all the doctree refactors, this was very easy to add.
2020-11-24Normalize `<X as Y>::T` for rustdocJoshua Nelson-0/+63
- Only run for `QPath::Resolved` with `Some` self parameter (`<X as Y>::T`) - Fall back to the previous behavior if the path can't be resolved - Show what the behavior is if the type can't be normalized - Run `resolve_vars_if_possible` It's not clear whether or not this is necessary. See https://github.com/rust-lang/rust/pull/77616 for more context. - Add a test for cross-crate re-exports - Use the same code for both `hir::Ty` and `Ty`