rust/crates
bors[bot] 62bc753f8b
Merge #7732
7732: Don't lower TypeBound::Lifetime as GenericPredicate::Error r=flodiebold a=Veykril

Basically we just discard the typebound for now instead when lowering to `GenericPredicate`. I think this shouldn't have any other side effects?

Fixes #7683(hopefully for real this time)

I also played around with introducing `GenericPredicate::LifetimeOutlives` and `GenericPredicate::TypeOutlives`(see b9d6904845) but that won't fix this issue(at least not for now) due to lifetime predicate mismatches when resolving methods so I figure this is a good way to fix it for now.

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-02-20 20:17:14 +00:00
..
assists Use format_to! to make logic a bit nicer 2021-02-20 17:11:04 +00:00
base_db Fix warnings when running cargo doc --document-private-items 2021-01-18 16:44:40 -05:00
cfg Upgrade expect-test to 1.1 2021-01-03 14:43:29 +01:00
flycheck Make logger-based debugging more pleasant 2021-01-28 17:07:53 +03:00
hir Don't write trailing whitespace when formatting empty GenericPredicates 2021-02-20 20:43:04 +01:00
hir_def Wrap BuiltinType in code model 2021-02-11 19:52:33 +01:00
hir_expand Revert "Replace usage of ast::NameOrNameRef with ast::NameLike" 2021-02-17 15:00:44 +01:00
hir_ty Don't write trailing whitespace when formatting empty GenericPredicates 2021-02-20 20:43:04 +01:00
ide Merge #7732 2021-02-20 20:17:14 +00:00
ide_completion feat(completion): add doc(hidden) completion for attributes 2021-02-20 15:16:05 +01:00
ide_db Implement ast::AstNode for NameLike and move it to node_ext 2021-02-16 19:27:08 +01:00
mbe Make sure normal dependencies always have version 2021-02-03 12:51:07 +00:00
parser Specialization for async traits 2021-02-15 18:33:12 +01:00
paths Document paths items 2021-01-22 15:38:33 +01:00
proc_macro_api Remove redundant clones 2021-02-05 16:57:26 +01:00
proc_macro_srv Remove use of deprecated std::collections::Bound 2021-02-16 18:22:14 -05:00
proc_macro_test Add description for crates that will be published 2020-08-24 13:07:22 +02:00
profile add more counts 2021-01-27 12:39:19 +03:00
project_model Fix a few clippy::perf warnings 2021-02-16 10:55:34 -05:00
rust-analyzer Update tests 2021-02-20 14:59:05 -05:00
ssr . 2021-01-20 01:56:11 +03:00
stdx Cleanup decl_check 2021-02-05 16:09:45 +01:00
syntax Fix incorrect missing field diagnostic with box patterns 2021-02-20 12:36:17 +02:00
test_utils Add parsing benchmark 2021-02-09 21:52:34 +03:00
text_edit Avoid turning completion objects into builders 2020-11-16 23:16:41 +02:00
toolchain Add description for crates that will be published 2020-08-24 13:07:22 +02:00
tt Refactor TokenBuffer for reduc cloning 2021-01-05 02:00:46 +08:00
vfs Fix slow tests sometimes failing 2021-02-12 16:31:16 +01:00
vfs-notify Fix slow tests sometimes failing 2021-02-12 16:31:16 +01:00