about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/basic.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2021-01-13 03:20:21 +0100
committerGitHub <noreply@github.com>2021-01-13 03:20:21 +0100
commit7ce8246a2393af53492d2c415f6f415099ce08d2 (patch)
treedfb642e0da76e43afef1220c60e15d45e9d3b952 /src/test/rustdoc-ui/coverage/basic.rs
parent330e196c492ec22f50786bf75676dd837d61b967 (diff)
parentd7ce9d5b6d43a78cc6ac47d653b372fbada01edc (diff)
downloadrust-7ce8246a2393af53492d2c415f6f415099ce08d2.tar.gz
rust-7ce8246a2393af53492d2c415f6f415099ce08d2.zip
Rollup merge of #80859 - jsgf:fix-pretty-remap, r=davidtwco
Fix --pretty=expanded with --remap-path-prefix

Per https://github.com/rust-lang/rust/issues/80832, using
--pretty=expanded and --remap-path-prefix results in an ICE.

This is becasue the session source files table is stored in remapped
form, whereas --pretty-expanded looks up unremapped files. This remaps
the path prefixes before lookup.

~~There don't appear to be any existing tests for --pretty=expanded; I'll look into
adding some.~~ Never mind, found the pretty tests.

Fixes #80832
Diffstat (limited to 'src/test/rustdoc-ui/coverage/basic.rs')
0 files changed, 0 insertions, 0 deletions