about summary refs log tree commit diff
path: root/src/test/codegen
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2020-10-02 16:21:43 -0400
committerJoshua Nelson <jyn514@gmail.com>2020-11-24 14:10:18 -0500
commita192e5d9c2e90798ffcd0bc79527cdc4ad52d949 (patch)
treeea073583d72feb030ed92291a7d5a9c033357788 /src/test/codegen
parent7f60ee0ccd90d41a978eb3c1c0cc83bceb330bc8 (diff)
downloadrust-a192e5d9c2e90798ffcd0bc79527cdc4ad52d949.tar.gz
rust-a192e5d9c2e90798ffcd0bc79527cdc4ad52d949.zip
Normalize `<X as Y>::T` for rustdoc
- 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`
Diffstat (limited to 'src/test/codegen')
0 files changed, 0 insertions, 0 deletions