diff options
| author | David Wood <david@davidtw.co> | 2020-08-14 12:33:20 +0100 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2020-08-14 23:01:14 +0100 |
| commit | bf3ef26713b8208e0127f4c51725897dbcd11bd9 (patch) | |
| tree | 885a852b01789a6ddec14806197a7dd8eb02ede3 /compiler/rustc_errors/src/snippet.rs | |
| parent | 3fbed1739c384faabf00cd8a62abedbf506e949b (diff) | |
| download | rust-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
