diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2021-07-24 09:51:56 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-24 09:51:56 -0700 |
| commit | e4d8f0e3493d65f8d8d4121dd868402a1365d951 (patch) | |
| tree | 562e1aad089ca0d69b757af6665f2a1e003d0500 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 18840b0719aa766a1bc49ea2eb5dc2e4cde7da3f (diff) | |
| parent | d1bc9413858b334b6cdaf345bd6b50cb9aa4cec2 (diff) | |
| download | rust-e4d8f0e3493d65f8d8d4121dd868402a1365d951.tar.gz rust-e4d8f0e3493d65f8d8d4121dd868402a1365d951.zip | |
Rollup merge of #87348 - SkiFire13:fix-87261, r=oli-obk
Fix span when suggesting to add an associated type bound Fixes #87261 Note that this fix is not perfect, it ~~will still give incorrect~~ won't give suggestions in some situations: - If the associated type is defined on a supertrait of those contained in the opaque type, it will fallback to the previous behaviour, e.g. if `AssocTy` is defined on the trait `Foo`, `Bar` has `Foo` as supertrait and the opaque type is a `impl Bar + Baz`. - If the the associated type is defined on a generic trait and the opaque type includes two versions of that generic trait, e.g. the opaque type is `impl Foo<A> + Foo<B>`
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
