hkalbasi
|
cbcafd3539
|
MIR episode 5
|
2023-05-12 18:17:15 +03:30 |
|
Lukas Wirth
|
0e7117900c
|
internal: Resolve labels in body lowering
|
2023-04-06 14:21:20 +02:00 |
|
hkalbasi
|
8e73ea5253
|
Desugar try blocks
|
2023-03-19 13:02:51 +03:30 |
|
hkalbasi
|
a063f000ff
|
Support function pointer MIR lowering
|
2023-03-17 13:08:35 +03:30 |
|
Ryo Yoshida
|
92fdfb548e
|
Make is_raw_identifier() public util function
|
2023-02-13 18:43:59 +09:00 |
|
bors
|
bfe82cda48
|
Auto merge of #14036 - Veykril:write-method-resolution, r=Veykril
Record method resolution for remaining operator expressions
This allows goto def and future substituted hover to work for the concrete impls.
|
2023-02-01 10:23:33 +00:00 |
|
Lukas Wirth
|
41a46a78f2
|
Make tt generic over the span data
|
2023-01-31 14:58:16 +01:00 |
|
Lukas Wirth
|
54da0bfbf0
|
Record method resolution for call expressions
|
2023-01-27 11:06:41 +01:00 |
|
Lukas Wirth
|
1535881836
|
Replace SmolStr usage with lang item enum for lang items
|
2023-01-21 17:55:45 +01:00 |
|
Daniel Eades
|
ed128872eb
|
remove needless borrows
|
2023-01-02 14:52:32 +00:00 |
|
Ryo Yoshida
|
0430b68398
|
Remove unused known Name s
|
2022-12-31 16:17:38 +09:00 |
|
hkalbasi
|
86b5b609f1
|
Compute data layout of types
|
2022-12-04 00:29:34 +03:30 |
|
Crauzer
|
b3bd5a471e
|
implement vararg type collection from function params
|
2022-11-29 00:32:13 +01:00 |
|
Lukas Wirth
|
8047512dca
|
Revert "feat: Diagnose some incorrect usages of the question mark operator"
|
2022-10-18 14:18:59 +02:00 |
|
Lukas Wirth
|
381366f1dd
|
Diagnose incorrect usages of the question mark operator
|
2022-10-16 12:58:24 +02:00 |
|
Ryo Yoshida
|
6d8903ae5f
|
fix: infer for-loop item type with IntoIterator and Iterator
|
2022-09-29 19:48:08 +09:00 |
|
iDawer
|
8ae58b9fe4
|
Record enabled unstable features into DefMap
|
2022-09-02 16:31:15 +05:00 |
|
bors
|
1da9156b0d
|
Auto merge of #12982 - jridgewell:into_future, r=Veykril
Implement IntoFuture type inference
One of my projects is using [IntoFuture](https://doc.rust-lang.org/std/future/trait.IntoFuture.html) to make our async code a little less verbose. However, rust-analyzer can't infer the output type of an await expression if the value uses `IntoFuture` to convert into another type. So we're getting `{unknown}` types everywhere since switching.
`foo.await` itself [desugars](e4417cf020/compiler/rustc_ast_lowering/src/expr.rs (L644-L658) ) into a `match into_future(foo) {}`, with every `Future` impl getting a [default](e4417cf020/library/core/src/future/into_future.rs (L131-L139) ) `IntoFuture` implementation. I'm not sure if we want to disable the old `future_trait` paths, since this only recently [stabilize](https://github.com/rust-lang/rust/pull/98718).
|
2022-08-18 07:37:47 +00:00 |
|
Ryo Yoshida
|
a3409c3a83
|
fix: escape keywords used as names in earlier editions
|
2022-08-17 18:46:17 +09:00 |
|
Ryo Yoshida
|
4322cf7f5b
|
Remove EscapedName
|
2022-08-11 01:11:18 +09:00 |
|
Ryo Yoshida
|
53ec791dc6
|
Add UnescapedName and make Name hold escaped name
|
2022-08-11 01:03:08 +09:00 |
|
Justin Ridgewell
|
5810c8188a
|
Implement IntoFuture type inference
|
2022-08-08 21:05:56 -04:00 |
|
Lukas Wirth
|
d6e78b04d0
|
feat: Handle operators like their trait functions in the IDE
|
2022-08-05 14:16:36 +02:00 |
|
Amos Wenger
|
816f7fe12a
|
Run cargo fix --edition-idioms
|
2022-07-20 15:02:08 +02:00 |
|
Hongxu Xu
|
f536766efb
|
complete raw identifier with "r#" prefix
|
2022-06-26 14:45:30 +08:00 |
|
Peh
|
1f011fa4a3
|
style: rename crates to kebab case
|
2022-05-01 10:48:58 +00:00 |
|