rust-analyzer/crates
bors bc03418127 Auto merge of #14746 - lowr:patch/associated-return-types, r=Veykril
Parse associated return type bounds

This PR implements parser support for associated return type bounds: `T: Foo<bar(): Send>`. This PR does not implement associated return types (`T::bar(): Send`) because it's not implemented even in rustc, and also removes `(..)`-style return type notation because it has been removed in rust-lang/rust#110203 (effectively reverting #14465).

I don't plan to proactively follow this unstable feature unless an RFC is accepted and my main motivation here is to remove no-longer-valid syntax `(..)` from our parser, nevertheless adding minimal parser support so anyone interested (as can be seen in #14465) can experiment it without rust-analyzer's syntax errors.
2023-05-15 09:16:51 +00:00
..
base-db fix: Fix body lowering not using block def maps 2023-05-04 20:46:05 +02:00
cfg ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00
flycheck Bump Cargo.lock 2023-03-25 15:12:39 +01:00
hir fix: Fix perf regression from symbol index refactor 2023-05-13 17:41:09 +02:00
hir-def Auto merge of #14746 - lowr:patch/associated-return-types, r=Veykril 2023-05-15 09:16:51 +00:00
hir-expand Use double reference in debug derive 2023-05-12 12:36:57 +03:30
hir-ty Unsized temporary is not an implementation error 2023-05-14 21:05:33 +03:30
ide Auto merge of #14797 - Veykril:symbol-query, r=Veykril 2023-05-13 15:41:54 +00:00
ide-assists Fix pattern type mismatch in tuples 2023-05-04 16:03:36 +03:30
ide-completion Auto merge of #14513 - hecatia-elegua:alias-based-completion2, r=Veykril 2023-04-24 06:34:25 +00:00
ide-db fix: Fix perf regression from symbol index refactor 2023-05-13 17:41:09 +02:00
ide-diagnostics Use double reference in debug derive 2023-05-12 12:36:57 +03:30
ide-ssr Depend on nohash-hasher individually 2023-05-06 00:49:23 -07:00
intern Use triomphe Arc 2023-05-02 20:02:43 +03:00
limit Move Expander and LowerCtx into separate modules 2023-04-17 20:44:06 +02:00
mbe Use boxed slices instead ovecs in decl macros 2023-05-02 17:04:53 +02:00
parser Parse associated return type bounds 2023-05-06 20:31:11 +09:00
paths Add AbsPath::absolutize 2023-05-13 11:51:28 +02:00
proc-macro-api Use triomphe Arc 2023-05-02 20:02:43 +03:00
proc-macro-srv Encode closing delimiter span in FlatTrees 2023-04-14 10:34:41 +02:00
proc-macro-srv-cli Remove proc-macro server command from the rust-analyzer binary 2023-04-26 08:19:28 +02:00
proc-macro-test ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00
profile internal: Add some additional status ouput 2023-04-22 09:34:47 +02:00
project-model Add AbsPath::absolutize 2023-05-13 11:51:28 +02:00
rust-analyzer Add timer for new items 2023-05-14 22:34:58 +03:30
sourcegen Use retain_mut in CommentBlock::extract 2023-03-31 17:41:40 -04:00
stdx Depend on nohash-hasher individually 2023-05-06 00:49:23 -07:00
syntax Parse associated return type bounds 2023-05-06 20:31:11 +09:00
test-utils Use double reference in debug derive 2023-05-12 12:36:57 +03:30
text-edit Make text-size a workspace dep 2023-05-06 00:49:23 -07:00
toolchain ⬆️ rust-analyzer 2023-03-13 10:42:24 +02:00
tt Emit function bodies in expanding builtin derives 2023-05-03 14:14:47 +03:30
vfs Depend on nohash-hasher individually 2023-05-06 00:49:23 -07:00
vfs-notify ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00