Pol Valletbó
|
e1aeb7fa79
|
fix: handle errors for string byte string and c_string
|
2023-10-11 15:25:52 +02:00 |
|
Pol Valletbó
|
677e6f3439
|
fix: use unescape_byte function for Byte literals
|
2023-10-11 13:09:15 +02:00 |
|
Pol Valletbó
|
1fe6ac87e9
|
add diagnosis messages for chars and byte literal errors
|
2023-10-11 12:19:00 +02:00 |
|
Lukas Wirth
|
a382e649ca
|
Recover better on missing parameter in param list
|
2023-09-29 12:50:16 +02:00 |
|
Lukas Wirth
|
3fa0bf0dd3
|
Fix ide-diagnostics test fixture
|
2023-09-06 18:31:16 +02:00 |
|
Lukas Wirth
|
abe8f1ece4
|
Implement builtin#format_args, using rustc's format_args parser
|
2023-09-05 19:19:46 +02:00 |
|
Lukas Wirth
|
3431d586e5
|
Insert builtin#asm into asm! expansion
|
2023-09-05 14:00:49 +02:00 |
|
Lukas Wirth
|
15048304e3
|
Implement offset_of in hir-def and hir-ty
|
2023-09-05 12:27:52 +02:00 |
|
ponyii
|
4ebdc6f052
|
syntax update: the default value of ConstParam turned from Expr into ConstArg
|
2023-08-08 21:57:54 +04:00 |
|
Ryo Yoshida
|
004971f3f0
|
Remove crate visibility modifier
|
2023-07-16 00:01:11 +09:00 |
|
Ryo Yoshida
|
49b039f1d1
|
Recover from missing associated items and generic const defaults
|
2023-07-05 00:24:11 +09:00 |
|
hkalbasi
|
f8594f78bb
|
Use ConstArg instead of Expr for AstId of InTypeConstId
|
2023-06-11 00:39:28 +03:30 |
|
Ryo Yoshida
|
f9c1a7dcd9
|
fix: assignment operators are right associative
|
2023-06-03 19:58:35 +09:00 |
|
Lukas Wirth
|
7d1bf7023d
|
Recover from leading comma in tuple pat and expr
|
2023-06-01 08:40:50 +02:00 |
|
Lukas Wirth
|
4b577e2bc8
|
Support c string literals
|
2023-05-18 11:06:05 +02:00 |
|
Lukas Wirth
|
099b5b3b15
|
internal: Bump rustc_lexer
|
2023-05-18 10:17:40 +02:00 |
|
Ryo Yoshida
|
fa2340a4df
|
Parse associated return type bounds
|
2023-05-06 20:31:11 +09:00 |
|
Ryo Yoshida
|
d7d8971203
|
Remove (..) -style return type notation
|
2023-05-06 20:30:17 +09:00 |
|
Ryo Yoshida
|
2a509d0eb2
|
Parse bare dyn types with leading lifetime
|
2023-05-05 04:30:37 +09:00 |
|
bors
|
2400b36a2e
|
Auto merge of #14577 - jsoref:spelling, r=lnicola
Spelling
This PR corrects misspellings identified by the [check-spelling action](https://github.com/marketplace/actions/check-spelling).
The misspellings have been reported at https://github.com/jsoref/rust-analyzer/actions/runs/4699991040#summary-12751355796
The action reports that the changes in this PR would make it happy: https://github.com/jsoref/rust-analyzer/actions/runs/4699991284#summary-12751356293
closes #14567
|
2023-04-19 14:05:40 +00:00 |
|
Josh Soref
|
bc7d84c3ce
|
Spelling
* a rule
* access
* after
* amount
* annotations
* assignment
* assist
* associated
* attribute
* borrowed
* built-in type
* clarification
* command
* const
* constructor
* corresponding
* counterparts
* curlies
* dependencies
* deterministic
* diagnostic
* duplicates
* edge
* edited
* efficient
* elsewhere
* execution
* expression
* extensions
* extracted
* fill
* github
* helper
* heuristic
* incomplete
* indent end
* inlay
* invocation
* lifetime
* looking
* maybe
* move
* mutability
* mutable
* necessarily
* necessary
* negative
* nonexistent
* occurred
* offsets
* offsetted
* overridden
* parameters
* params
* params_and_where_preds_in_scope
* paredit
* parent
* parentheses
* prepended if
* punctuation
* receive
* receiver
* referring
* repeated
* representing
* semantically
* separately
* shouldnot
* siblings
* similar
* something's
* statement
* struct
* structure
* surprise
* the
* this
* transparent
* unimplemented
* unnamed
* unnecessary
* unneeded
* unreachable
* unterminated
* utilities
* variant
* variants
* visibility
* work around (v)
* workaround
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
|
2023-04-19 09:45:55 -04:00 |
|
Ryo Yoshida
|
83a93f4bd3
|
Parse inline const pattern in nested patterns
|
2023-04-16 04:28:37 +09:00 |
|
Ryo Yoshida
|
89a1439de3
|
Parse exclusive range pattern
|
2023-04-16 04:28:29 +09:00 |
|
tamasfe
|
0b9c0c5088
|
feat(syntax): RTN in bounds
Limited syntactic support for experimental return type notations.
https://github.com/rust-lang/rust/issues/109417
|
2023-04-01 15:26:03 +02:00 |
|
Lukas Wirth
|
cb546390da
|
fix: Recover from pub() visibility modifier
|
2023-03-30 13:42:15 +02:00 |
|
XFFXFF
|
98990affe5
|
add more tests
|
2023-03-07 08:24:25 +08:00 |
|
XFFXFF
|
995aacfce8
|
show diagnostic for } token followed by else in let else statement
|
2023-03-07 08:24:25 +08:00 |
|
Ryo Yoshida
|
2e7d2c2d04
|
Parse trait alias as a distinct AST type
|
2023-03-04 00:23:56 +09:00 |
|
shilangyu
|
44e47fe408
|
Add check for extra path segments after an angled one
|
2023-02-25 16:16:49 +01:00 |
|
Lukas Wirth
|
4f6b5f41d4
|
Recover better for more delimited sequences
|
2023-02-14 13:52:15 +01:00 |
|
Lukas Wirth
|
1be24e0899
|
internal: Improve parser recovery a bunch
|
2023-02-11 20:28:36 +01:00 |
|
Lukas Wirth
|
6fa6efe90f
|
fix: Fix parsing of nested tuple field accesses in a cursed way
|
2023-02-03 17:18:48 +01:00 |
|
onestacked
|
872408500b
|
Parse const_closures syntax.
Enables parsing of the syntax for `#![features(const_closures)]` introduced in https://github.com/rust-lang/rust/pull/106004
|
2023-01-19 15:40:07 +01:00 |
|
Maybe Waffle
|
4a16afa264
|
Parse do yeet expressions
|
2022-12-28 22:42:26 +00:00 |
|
Dezhi Wu
|
258e532434
|
docs: update the comment and add a test to half_open_range_pat
|
2022-12-16 10:44:25 +08:00 |
|
Jonas Schievink
|
9e0aaf4cf3
|
Parse ..= X patterns
|
2022-12-13 17:32:25 +01:00 |
|
Jonas Schievink
|
ed48bd8b9d
|
Fix parsing of _ = x in closure body
|
2022-12-12 12:57:29 +01:00 |
|
Chayim Refael Friedman
|
d786a40e73
|
Parse TypePathFn with preceding ::
e.g. `impl Fn::() -> ()`.
|
2022-08-31 23:19:09 +00:00 |
|
Jonas Schievink
|
8969655ed6
|
Allow leading | in more pattern positions
|
2022-08-23 16:31:59 +02:00 |
|
Lukas Wirth
|
49d24f639f
|
Recover from missing ellipsis in record literals for path expressions
|
2022-08-09 18:23:25 +02:00 |
|
Ryo Yoshida
|
b14062aaec
|
Parse range patterns in let statement with type annotation
|
2022-08-09 00:00:22 +09:00 |
|
Ryo Yoshida
|
a81c7a2974
|
Parse range patterns in struct and slice without trailing comma
|
2022-08-07 17:19:15 +09:00 |
|
Jonas Schievink
|
6c6ae965ba
|
Update remaining GitHub URLs
|
2022-07-08 15:44:49 +02:00 |
|
XFFXFF
|
df67bbdcb3
|
fix: parsing of ? opt-out trait bounds
thanks to Veykril
|
2022-06-02 21:30:18 +08:00 |
|
Jonas Schievink
|
9bd11459ba
|
Revert "Auto merge of #12149 - jonas-schievink:literally-just-a-literal, r=jonas-schievink"
This reverts commit cc9ae2b89e , reversing
changes made to 7dfd1cb572 .
|
2022-05-13 15:08:14 +02:00 |
|
Jonas Schievink
|
4fcdb96789
|
Revert "fix: Remap float parts as integers when parsed as indices"
This reverts commit dbb066b99e .
|
2022-05-13 15:05:03 +02:00 |
|
Jonas Schievink
|
73e0e17b52
|
Revert "Don't remap float tokens to INT_NUMBER "
This reverts commit cb5e8da88a .
|
2022-05-13 15:04:36 +02:00 |
|
Jonas Schievink
|
cb5e8da88a
|
Don't remap float tokens to INT_NUMBER
|
2022-05-12 19:01:09 +02:00 |
|
Lukas Wirth
|
dbb066b99e
|
fix: Remap float parts as integers when parsed as indices
|
2022-05-07 12:52:15 +02:00 |
|
Jonas Schievink
|
37443eb9a1
|
Maybe everything else *should* have to deal with it
|
2022-05-05 16:28:59 +02:00 |
|