diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-05-12 19:36:36 +0100 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-05-12 19:36:36 +0100 |
commit | 0f57564f78207946fdb09e0cddc21a55966b1bc5 (patch) | |
tree | e8aa2948b2bb301f453307c35311634cda5de43b /editors/code/src/commands/on_enter.ts | |
parent | 02ba107bbf24b1d09e61f76bb64b7355076744c4 (diff) | |
parent | bc59f83991a6444ff2f2364b0e942e8a82943b6d (diff) |
Merge #1266
1266: Chalk integration / method resolution fixes r=matklad a=flodiebold
- fix impl blocks with unresolved target trait being treated as inherent impls
- add traits from prelude for method resolution, and deduplicate them
- blacklist some traits from being considered in where clauses, namely `Send`, `Sync`, `Sized`, and the `Fn` traits. We don't handle these correctly yet for several reasons, and this makes us much less likely to run into cases where Chalk gets very slow (because these usually only happen if there is no solution, and that's more likely to happen for these traits).
- when there's an errored where clause, return just that one (since it will be always false anyway). This also makes things easier on Chalk ;)
Co-authored-by: Florian Diebold <[email protected]>
Diffstat (limited to 'editors/code/src/commands/on_enter.ts')
0 files changed, 0 insertions, 0 deletions