diff options
| author | Michael Howell <michael@notriddle.com> | 2023-12-10 16:05:18 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-12-10 16:52:21 -0700 |
| commit | 92b84f849a63af6454845452ee8a5567d6956302 (patch) | |
| tree | 3d2b6474caa7017adfbe1ba58699099134e3d2b1 /tests/rustdoc-js-std/full-path-function.js | |
| parent | ec4176167b964debee77015d0c67720639f9d673 (diff) | |
| download | rust-92b84f849a63af6454845452ee8a5567d6956302.tar.gz rust-92b84f849a63af6454845452ee8a5567d6956302.zip | |
rustdoc-search: do not treat associated type names as types
Before: http://notriddle.com/rustdoc-html-demo-6/tor-before/tor_config/ After: http://notriddle.com/rustdoc-html-demo-6/tor-after/tor_config/ Profile: http://notriddle.com/rustdoc-html-demo-6/tor-profile/ As a bit of background information: in type-based queries, a type name that does not exist gets treated as a generic type variable. This causes a counterintuitive behavior in the `tor_config` crate, which has a trait with an associated type variable called `T`. This isn't a searchable concrete type, but its name still gets stored in the typeNameIdMap, as a convenient way to intern its name.
Diffstat (limited to 'tests/rustdoc-js-std/full-path-function.js')
0 files changed, 0 insertions, 0 deletions
