about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/snippet.rs
diff options
context:
space:
mode:
authorDavid Wood <david@davidtw.co>2020-08-14 12:33:20 +0100
committerDavid Wood <david@davidtw.co>2020-08-14 23:01:14 +0100
commitbf3ef26713b8208e0127f4c51725897dbcd11bd9 (patch)
tree885a852b01789a6ddec14806197a7dd8eb02ede3 /compiler/rustc_errors/src/snippet.rs
parent3fbed1739c384faabf00cd8a62abedbf506e949b (diff)
downloadrust-bf3ef26713b8208e0127f4c51725897dbcd11bd9.tar.gz
rust-bf3ef26713b8208e0127f4c51725897dbcd11bd9.zip
polymorphize: `I` used if `T` used in `I: Foo<T>`
This commit adjusts polymorphization's handling of predicates so that
after ensuring that `T` is used in `I: Foo<T>` if `I` is used, it now
ensures that `I` is used if `T` is used in `I: Foo<T>`. This is
necessary to mark generic parameters that only exist in impl parameters
as used - thereby avoiding symbol clashes when using the new mangling
scheme.

Signed-off-by: David Wood <david@davidtw.co>
Diffstat (limited to 'compiler/rustc_errors/src/snippet.rs')
0 files changed, 0 insertions, 0 deletions