about summary refs log tree commit diff
path: root/tests/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2023-07-07 20:28:51 +0200
committerNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2023-07-07 20:28:51 +0200
commit5df1f6681dca1a2028a4e6b60d3ab789c00b4cf8 (patch)
treeb3e34ddda6c838eb3b645717cdfa5f955fd8364a /tests/debuginfo/enum-thinlto.rs
parent26edd5a2ab5ae719019f4ca17f93d0bd092f1334 (diff)
downloadrust-5df1f6681dca1a2028a4e6b60d3ab789c00b4cf8.tar.gz
rust-5df1f6681dca1a2028a4e6b60d3ab789c00b4cf8.zip
Pass correct substs to `implements_trait` in `incorrect_impls`
`Copy<T>` does in fact not exist. The substs on the trait_ref contain
the `Self` type of the impl as the first parameter, so passing that
to `implements_trait`, which then nicely prepends the `Self` type
for us does not end will.
Diffstat (limited to 'tests/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions