]> git.lizzy.rs Git - rust.git/log
rust.git
2 years agoMerge #11455
bors[bot] [Mon, 21 Feb 2022 16:56:37 +0000 (16:56 +0000)]
Merge #11455

11455: Handle proc-macro functions as the proc-macro they resolve to r=Veykril a=Veykril

Fixes https://github.com/rust-analyzer/rust-analyzer/issues/11212

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2 years agoMove fn to proc-macro conversion to name classification
Lukas Wirth [Mon, 21 Feb 2022 16:56:11 +0000 (17:56 +0100)]
Move fn to proc-macro conversion to name classification

2 years agoMerge #11481
bors[bot] [Mon, 21 Feb 2022 13:08:31 +0000 (13:08 +0000)]
Merge #11481

11481: Display parameter names when hovering over a function pointer r=Veykril a=Vannevelj

Implements #11474

The idea is pretty straightforward: previously we constructed the hover based on just the parameter types, now we pass in the parameter names as well. I went for a quick-hit approach here but I expect someone will be able to point me to a better way of resolving the identifier.

I haven't figured out yet how to actually run my rust-analyzer locally so I can see it in action but the unit test indicates it should work.

Co-authored-by: Jeroen Vannevel <jer_vannevel@outlook.com>
2 years agoMerge #11517
bors[bot] [Mon, 21 Feb 2022 12:52:11 +0000 (12:52 +0000)]
Merge #11517

11517: fix: Fix qualfiied record literal completion triggering too eagerly r=Veykril a=Veykril

Supercedes https://github.com/rust-analyzer/rust-analyzer/pull/10909
Fixes https://github.com/rust-analyzer/rust-analyzer/issues/10889
bors r+

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2 years agofix: Fix qualfiied record literal completion triggering too eagerly
Lukas Wirth [Mon, 21 Feb 2022 12:50:16 +0000 (13:50 +0100)]
fix: Fix qualfiied record literal completion triggering too eagerly

2 years agoMerge #11516
bors[bot] [Mon, 21 Feb 2022 12:44:10 +0000 (12:44 +0000)]
Merge #11516

11516: fix: Don't count commas when looking for the derive attribute in diagnostics r=Veykril a=Veykril

bors r+

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2 years agofix: Don't count commas when looking for the derive attribute in diagnostics
Lukas Wirth [Mon, 21 Feb 2022 12:43:42 +0000 (13:43 +0100)]
fix: Don't count commas when looking for the derive attribute in diagnostics

2 years agoparameters.split_last()
Jeroen Vannevel [Mon, 21 Feb 2022 10:29:38 +0000 (10:29 +0000)]
parameters.split_last()

2 years agoMerge #11142
bors[bot] [Mon, 21 Feb 2022 10:29:16 +0000 (10:29 +0000)]
Merge #11142

11142: Updated the Sublime Text section r=Veykril a=AmjadHD

rust-analyzer/rust-analyzer.github.io#160

Co-authored-by: Amjad Ben Hedhili <amjadhedhili@outlook.com>
2 years agoMerge #11424
bors[bot] [Mon, 21 Feb 2022 10:21:39 +0000 (10:21 +0000)]
Merge #11424

11424: Pass required features to cargo when using run action r=Veykril a=WaffleLapkin

When using `F1`->`Rust Analyzer: Run` action on an `example`, pass its `required-features` to `cargo run`. This allows to run examples that were otherwise impossible to run with RA.

Co-authored-by: Maybe Waffle <waffle.lapkin@gmail.com>
2 years agoMerge #11375
bors[bot] [Mon, 21 Feb 2022 09:31:38 +0000 (09:31 +0000)]
Merge #11375

11375: feat: Support if- and while- let chains r=Veykril a=ChayimFriedman2

Closes #11320.

Co-authored-by: Chayim Refael Friedman <chayimfr@gmail.com>
2 years agoMerge #11514
bors[bot] [Mon, 21 Feb 2022 09:23:20 +0000 (09:23 +0000)]
Merge #11514

11514: chore(manual): update coc-rust-analyzer manual r=Veykril a=fannheyward

Semantic tokens highlighting is added in coc.nvim now.

Co-authored-by: Heyward Fann <fannheyward@users.noreply.github.com>
2 years agoChange `single_let()` and `is_pattern_cond()` to free functions
Chayim Refael Friedman [Mon, 21 Feb 2022 06:15:21 +0000 (08:15 +0200)]
Change `single_let()` and `is_pattern_cond()` to free functions

2 years agoUpgrade ungrammar to 1.15.0
Chayim Refael Friedman [Tue, 1 Feb 2022 09:35:36 +0000 (11:35 +0200)]
Upgrade ungrammar to 1.15.0

2 years agoValidate `let` expressions
Chayim Refael Friedman [Sun, 30 Jan 2022 10:23:36 +0000 (12:23 +0200)]
Validate `let` expressions

Emit an error if they're found in an invalid position.

2 years agoUpdate tests
Chayim Refael Friedman [Mon, 24 Jan 2022 02:50:07 +0000 (04:50 +0200)]
Update tests

Unfortunately, we lost some recovery for expressions.

2 years agoFix various IDE features
Chayim Refael Friedman [Sun, 23 Jan 2022 22:37:59 +0000 (00:37 +0200)]
Fix various IDE features

As a side benefit, we got `let` guard support for `move_guard` for free.

2 years agoType-inference for `let` expressions
Chayim Refael Friedman [Sun, 23 Jan 2022 03:59:35 +0000 (05:59 +0200)]
Type-inference for `let` expressions

2 years agoLower `let` expressions
Chayim Refael Friedman [Sun, 23 Jan 2022 03:39:26 +0000 (05:39 +0200)]
Lower `let` expressions

2 years agoParse `let` expressions in order to support `let` chains
Chayim Refael Friedman [Sun, 23 Jan 2022 02:21:09 +0000 (04:21 +0200)]
Parse `let` expressions in order to support `let` chains

We still need to reject freestanding `let` expressions: see https://github.com/rust-analyzer/rust-analyzer/issues/11320#issuecomment-1018212465.

2 years agochore(manual): update coc-rust-analyzer manual
Heyward Fann [Mon, 21 Feb 2022 03:04:39 +0000 (11:04 +0800)]
chore(manual): update coc-rust-analyzer manual

Semantic tokens highlighting is added now

2 years agoMerge #11512
bors[bot] [Sun, 20 Feb 2022 23:16:59 +0000 (23:16 +0000)]
Merge #11512

11512: internal: Remove `name` fields from `MacroCallKind` r=Veykril a=Veykril

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2 years agointernal: Remove name fields from MacroCallKind
Lukas Wirth [Sun, 20 Feb 2022 23:02:10 +0000 (00:02 +0100)]
internal: Remove name fields from MacroCallKind

2 years agoMerge #11511
bors[bot] [Sun, 20 Feb 2022 21:54:12 +0000 (21:54 +0000)]
Merge #11511

11511: internal: Wrap MacroCallKind::Attr attr_args field in an Arc r=Veykril a=Veykril

This is stored in `MacroCallLoc` which is returned from a query, so cloning should be made cheap.
bors r+

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2 years agointernal: Wrap MacroCallKind::Attr attr_args field in an Arc
Lukas Wirth [Sun, 20 Feb 2022 21:53:04 +0000 (22:53 +0100)]
internal: Wrap MacroCallKind::Attr attr_args field in an Arc

2 years agoMerge #11504
bors[bot] [Sat, 19 Feb 2022 10:09:22 +0000 (10:09 +0000)]
Merge #11504

11504: Fix a typo in server_capabilities.experimental r=lnicola a=nemethf

Commit 27c4be6b4f68 wasn't really complex, but I still managed to make a mistake there, which this PR fixes.  Sorry.

Co-authored-by: Felicián Németh <felician.nemeth@gmail.com>
2 years agoFix a typo in server_capabilities.experimental
Felicián Németh [Sat, 19 Feb 2022 09:58:10 +0000 (10:58 +0100)]
Fix a typo in server_capabilities.experimental

2 years agoMerge #11498
bors[bot] [Fri, 18 Feb 2022 17:32:36 +0000 (17:32 +0000)]
Merge #11498

11498: minor: Update issue template r=lnicola a=lnicola

 - remove fixed #11098
 - ask about settings and environment variables

Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2 years agoUpdate issue template
Laurențiu Nicola [Fri, 18 Feb 2022 17:30:15 +0000 (19:30 +0200)]
Update issue template

2 years agore-added FIXME
Jeroen Vannevel [Fri, 18 Feb 2022 09:12:52 +0000 (09:12 +0000)]
re-added FIXME

2 years agoMerge #11484
bors[bot] [Wed, 16 Feb 2022 15:13:54 +0000 (15:13 +0000)]
Merge #11484

11484: Infer the array size for slice patterns r=flodiebold a=ChayimFriedman2

Fixes #11478 (feat or fix?),

I don't know much about the type-checking in RA, so maybe I did some obvious mistake.

Co-authored-by: Chayim Refael Friedman <chayimfr@gmail.com>
2 years agoInfer the array size for slice patterns
Chayim Refael Friedman [Wed, 16 Feb 2022 11:21:21 +0000 (11:21 +0000)]
Infer the array size for slice patterns

2 years agoremoved double map
Jeroen Vannevel [Tue, 15 Feb 2022 19:37:24 +0000 (19:37 +0000)]
removed double map

2 years agosimplified write
Jeroen Vannevel [Tue, 15 Feb 2022 19:27:56 +0000 (19:27 +0000)]
simplified write

2 years agotest names
Jeroen Vannevel [Tue, 15 Feb 2022 19:22:36 +0000 (19:22 +0000)]
test names

2 years agoadd test for function pointer without identifier
Jeroen Vannevel [Tue, 15 Feb 2022 19:20:50 +0000 (19:20 +0000)]
add test for function pointer without identifier

2 years agouse Name instead of String
Jeroen Vannevel [Tue, 15 Feb 2022 19:12:23 +0000 (19:12 +0000)]
use Name instead of String

2 years agoremoved unwrap
Jeroen Vannevel [Tue, 15 Feb 2022 14:58:06 +0000 (14:58 +0000)]
removed unwrap

2 years agocleaning
Jeroen Vannevel [Tue, 15 Feb 2022 14:55:21 +0000 (14:55 +0000)]
cleaning

2 years agofmt
Jeroen Vannevel [Tue, 15 Feb 2022 14:47:51 +0000 (14:47 +0000)]
fmt

2 years agocleanup
Jeroen Vannevel [Tue, 15 Feb 2022 14:47:23 +0000 (14:47 +0000)]
cleanup

2 years agorough, but appears to work
Jeroen Vannevel [Tue, 15 Feb 2022 14:39:22 +0000 (14:39 +0000)]
rough, but appears to work

2 years agoMerge #11475
bors[bot] [Tue, 15 Feb 2022 09:36:22 +0000 (09:36 +0000)]
Merge #11475

11475: Impr mbe: remove unecessary temporary vec r=bellau a=bellau

It's a micro optimization. I don't know if it's really necessary (less alloc is always better).

Co-authored-by: bellau <laurent.belmonte@gmail.com>
2 years agoMerge #11480
bors[bot] [Tue, 15 Feb 2022 09:29:28 +0000 (09:29 +0000)]
Merge #11480

11480: fix: keyword hover works on non-keyword tokens if expanded to keyword r=Veykril a=Veykril

bors r+

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2 years agoImpr mbe: remove unecessary temporary vec
bellau [Mon, 14 Feb 2022 20:06:13 +0000 (21:06 +0100)]
Impr mbe: remove unecessary temporary vec

2 years agofix: keyword hover works on non-keyword tokens if expanded to keyword
Lukas Wirth [Tue, 15 Feb 2022 09:09:19 +0000 (10:09 +0100)]
fix: keyword hover works on non-keyword tokens if expanded to keyword

2 years agoMerge #11477
bors[bot] [Tue, 15 Feb 2022 01:50:25 +0000 (01:50 +0000)]
Merge #11477

11477: fix: Fix cases where `Merge Imports` would drop imports. r=DropDemBits a=DropDemBits

Fixes #11466

Co-authored-by: DropDemBits <r3usrlnd@gmail.com>
2 years agoApply review fixes
DropDemBits [Tue, 15 Feb 2022 01:41:01 +0000 (20:41 -0500)]
Apply review fixes

2 years agofix: Don't drop glob with nested self
DropDemBits [Tue, 15 Feb 2022 00:41:49 +0000 (19:41 -0500)]
fix: Don't drop glob with nested self

2 years agofix: Don't drop tree when the other has `self`
DropDemBits [Mon, 14 Feb 2022 23:46:16 +0000 (18:46 -0500)]
fix: Don't drop tree when the other has `self`

2 years agoMerge #11369
bors[bot] [Mon, 14 Feb 2022 21:07:41 +0000 (21:07 +0000)]
Merge #11369

11369: feat: Add type hint for keyword expression hovers r=Veykril a=danii

Adds the return type of keywords to tool-tips where it makes sense. This applies to: `if`, `else`, `match`, `loop`, `unsafe` and `await`. Thanks to `@Veykril` for sharing the idea of putting return type highlighting on other keywords!
![image](https://user-images.githubusercontent.com/39541871/151611737-12325c23-a1f9-4fca-ae48-279b374bdcdf.png)

Closes #11359

Co-authored-by: Daniel Conley <himself@danii.dev>
2 years agoHide Keyword Expression Hover For Units `()`
Daniel Conley [Mon, 14 Feb 2022 20:26:40 +0000 (15:26 -0500)]
Hide Keyword Expression Hover For Units `()`

Cleaned up the code for keyword expression hovers.

Added a check to hide units `()` in keyword expression hovers.

2 years agoMerge #11458
bors[bot] [Mon, 14 Feb 2022 17:35:12 +0000 (17:35 +0000)]
Merge #11458

11458: Fix  Immovable generator syntax (static ||) not recognized #11448 r=Veykril a=bellau

Co-authored-by: bellau <laurent.belmonte@gmail.com>
2 years agoMerge #11470
bors[bot] [Mon, 14 Feb 2022 12:05:21 +0000 (12:05 +0000)]
Merge #11470

11470: correct the description of Struct GlobalState r=lnicola a=doki23

Fixes #11469

The description of GlobalState should be 'more than one impl'

Co-authored-by: doki <11144133+doki23@users.noreply.github.com>
2 years agocorrect the description of Struct GlobalState
doki [Mon, 14 Feb 2022 11:30:21 +0000 (19:30 +0800)]
correct the description of Struct GlobalState

2 years agoFix style
bellau [Mon, 14 Feb 2022 06:41:50 +0000 (07:41 +0100)]
Fix style

2 years agoMerge #11464
bors[bot] [Sun, 13 Feb 2022 16:15:37 +0000 (16:15 +0000)]
Merge #11464

11464: minor: Bump deps r=lnicola a=lnicola

bors r+

Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2 years agoBump deps
Laurențiu Nicola [Sat, 12 Feb 2022 07:25:26 +0000 (09:25 +0200)]
Bump deps

2 years agoMerge #11442 #11460
bors[bot] [Sun, 13 Feb 2022 12:43:16 +0000 (12:43 +0000)]
Merge #11442 #11460

11442: fix(rename): Use text range of a mod name after macro expansion r=Veykril a=tysg

Fixes #11417.

11460: fix: documentation of SsrParams r=Veykril a=nemethf

Fix #11429 by extending the documentation of SsrParms with the
mandatory field 'selections'.  Copy its description from lsp_ext.rs.

Co-authored-by: Tianyi Song <42670338+tysg@users.noreply.github.com>
Co-authored-by: Felicián Németh <felician.nemeth@gmail.com>
2 years agoMerge #11459
bors[bot] [Sun, 13 Feb 2022 12:35:11 +0000 (12:35 +0000)]
Merge #11459

11459: fix: add missing experimental capabilities r=Veykril a=nemethf

Fix #11389 by extending server_capabilities.experimental with
matchingBrace, externalDocs, moveItems.  Also, sort entries
alphabetically.

Co-authored-by: Felicián Németh <felician.nemeth@gmail.com>
2 years agoAddress PR comments
Tianyi Song [Sun, 13 Feb 2022 10:14:39 +0000 (18:14 +0800)]
Address PR comments

2 years agooops, remove println
bellau [Sun, 13 Feb 2022 08:11:35 +0000 (09:11 +0100)]
oops, remove println

2 years agofix handle static async and static async move
bellau [Sun, 13 Feb 2022 08:09:44 +0000 (09:09 +0100)]
fix handle static async and static async move

2 years agoFix style
bellau [Sat, 12 Feb 2022 16:31:17 +0000 (17:31 +0100)]
Fix style

2 years agosupport static move too
bellau [Sat, 12 Feb 2022 15:07:58 +0000 (16:07 +0100)]
support static move too

2 years agofix: documentation of SsrParams
Felicián Németh [Sat, 12 Feb 2022 14:47:54 +0000 (15:47 +0100)]
fix: documentation of SsrParams

Fix #11429 by extending the documentation of SsrParms with the
mandatory field 'selections'.  Copy its description from lsp_ext.rs.

2 years agofix: add missing experimental capabilities
Felicián Németh [Sat, 12 Feb 2022 14:32:43 +0000 (15:32 +0100)]
fix: add missing experimental capabilities

Fix #11389 by extending server_capabilities.experimental with
matchingBrace, externalDocs, moveItems.  Also, sort entries
alphabetically.

2 years agoFix styles
bellau [Sat, 12 Feb 2022 14:35:06 +0000 (15:35 +0100)]
Fix styles

2 years agoFix Immovable generator syntax (static ||) not recognized #11448
bellau [Sat, 12 Feb 2022 14:17:10 +0000 (15:17 +0100)]
Fix  Immovable generator syntax (static ||) not recognized #11448

2 years agoMerge #11444
bors[bot] [Sat, 12 Feb 2022 12:48:46 +0000 (12:48 +0000)]
Merge #11444

11444: feat: Fix up syntax errors in attribute macro inputs to make completion work more often r=flodiebold a=flodiebold

This implements the "fix up syntax nodes" workaround mentioned in #11014. It isn't much more than a proof of concept; I have only implemented a few cases, but it already helps quite a bit.

Some notes:
 - I'm not super happy about how much the fixup procedure needs to interact with the syntax node -> token tree conversion code (e.g. needing to share the token map). This could maybe be simplified with some refactoring of that code.
 - It would maybe be nice to have the fixup procedure reuse or share information with the parser, though I'm not really sure how much that would actually help.

Co-authored-by: Florian Diebold <flodiebold@gmail.com>
2 years agoMerge #11453
bors[bot] [Fri, 11 Feb 2022 21:21:57 +0000 (21:21 +0000)]
Merge #11453

11453: internal: Make `ascend_call_token` iterative instead of recursive r=Veykril a=Veykril

bors r+

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2 years agointernal: Make `ascend_call_token` iterative instead of recursive
Lukas Wirth [Fri, 11 Feb 2022 21:12:16 +0000 (22:12 +0100)]
internal: Make `ascend_call_token` iterative instead of recursive

2 years agoHandle proc-macro functions as the proc-macro they resolve to
Lukas Wirth [Fri, 11 Feb 2022 21:06:03 +0000 (22:06 +0100)]
Handle proc-macro functions as the proc-macro they resolve to

2 years agoUse text range of name after macro expansion
Tianyi Song [Fri, 28 Jan 2022 08:15:23 +0000 (16:15 +0800)]
Use text range of name after macro expansion

2 years agoFormat again
Florian Diebold [Wed, 9 Feb 2022 16:52:15 +0000 (17:52 +0100)]
Format again

2 years agoReduce visibility
Florian Diebold [Wed, 9 Feb 2022 16:43:37 +0000 (17:43 +0100)]
Reduce visibility

2 years agoAdd back an assertion
Florian Diebold [Wed, 9 Feb 2022 15:36:06 +0000 (16:36 +0100)]
Add back an assertion

2 years agoVarious fixes
Florian Diebold [Wed, 9 Feb 2022 15:30:10 +0000 (16:30 +0100)]
Various fixes

2 years agoRename syntax_node_to_token_tree_censored
Florian Diebold [Wed, 9 Feb 2022 11:00:03 +0000 (12:00 +0100)]
Rename syntax_node_to_token_tree_censored

2 years agoReplace expressions with errors in them
Florian Diebold [Wed, 9 Feb 2022 10:58:52 +0000 (11:58 +0100)]
Replace expressions with errors in them

2 years agoMerge #11441
bors[bot] [Wed, 9 Feb 2022 07:24:33 +0000 (07:24 +0000)]
Merge #11441

11441: minor: Bump deps r=lnicola a=lnicola

bors r+

Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
2 years agoBump lsp-types
Laurențiu Nicola [Wed, 9 Feb 2022 07:22:25 +0000 (09:22 +0200)]
Bump lsp-types

2 years agoRevert "Revert "Bump dashmap""
Laurențiu Nicola [Wed, 9 Feb 2022 07:19:57 +0000 (09:19 +0200)]
Revert "Revert "Bump dashmap""

This reverts commit 39674cd35054f4905691bb0c3d1eca7b97063aa7.

2 years agoBump deps
Laurențiu Nicola [Wed, 9 Feb 2022 07:14:55 +0000 (09:14 +0200)]
Bump deps

2 years agoMerge #11437
bors[bot] [Tue, 8 Feb 2022 23:30:50 +0000 (23:30 +0000)]
Merge #11437

11437: [ide_completion] render if a function is async/const/unsafe in completion details r=Veykril a=jhgg

this change renders in the autocomplete detail, whether a function is async/const/unsafe.

i found myself wanting to know this information at a glance, so now it renders here:

![image](https://user-images.githubusercontent.com/5489149/153089518-5419afe4-b2c6-4be8-80f7-585f5c514ff2.png)

Co-authored-by: Jake Heinz <jh@discordapp.com>
2 years agoMerge #11436
bors[bot] [Tue, 8 Feb 2022 23:19:07 +0000 (23:19 +0000)]
Merge #11436

11436: fix: renaming modules does not change references by super r=Veykril a=TheDoctor314

Fixes #11289.

Co-authored-by: TheDoctor314 <64731940+TheDoctor314@users.noreply.github.com>
2 years ago[ide_completion] render if a function is async/const/unsafe in completion details
Jake Heinz [Tue, 8 Feb 2022 22:48:34 +0000 (22:48 +0000)]
[ide_completion] render if a function is async/const/unsafe in completion details

2 years agoFix test
Florian Diebold [Tue, 8 Feb 2022 19:44:46 +0000 (20:44 +0100)]
Fix test

2 years agoTrack synthetic tokens, to be able to remove them again later
Florian Diebold [Tue, 8 Feb 2022 17:13:18 +0000 (18:13 +0100)]
Track synthetic tokens, to be able to remove them again later

2 years agoFix renaming super keyword
TheDoctor314 [Tue, 8 Feb 2022 15:58:32 +0000 (21:28 +0530)]
Fix renaming super keyword

2 years agoAdd test
TheDoctor314 [Tue, 8 Feb 2022 15:49:14 +0000 (21:19 +0530)]
Add test

The rename function should not change any path segments that refer to a
module by super.

2 years agoActually check in fixup.rs
Florian Diebold [Mon, 7 Feb 2022 19:30:28 +0000 (20:30 +0100)]
Actually check in fixup.rs

2 years agoReverse fixups
Florian Diebold [Mon, 7 Feb 2022 18:53:31 +0000 (19:53 +0100)]
Reverse fixups

2 years agoSimplify
Florian Diebold [Mon, 7 Feb 2022 17:21:31 +0000 (18:21 +0100)]
Simplify

2 years agoAdd a check
Florian Diebold [Mon, 7 Feb 2022 17:19:00 +0000 (18:19 +0100)]
Add a check

2 years agoSimplify a bit
Florian Diebold [Mon, 7 Feb 2022 17:17:28 +0000 (18:17 +0100)]
Simplify a bit

2 years agoWIP: Actually fix up syntax errors in attribute macro input
Florian Diebold [Mon, 7 Feb 2022 17:08:31 +0000 (18:08 +0100)]
WIP: Actually fix up syntax errors in attribute macro input

2 years agoAdd test for giving attribute proc macros valid syntax
Florian Diebold [Mon, 7 Feb 2022 11:54:08 +0000 (12:54 +0100)]
Add test for giving attribute proc macros valid syntax

2 years agoMerge #11427
bors[bot] [Mon, 7 Feb 2022 07:51:13 +0000 (07:51 +0000)]
Merge #11427

11427: add missing snake case attribute, update hash r=lnicola a=HansAuger

Fix for #11414

Co-authored-by: Moritz Vetter <mv@3yourmind.com>
2 years agoadd missing snake case attribute, update hash
Moritz Vetter [Mon, 7 Feb 2022 03:57:20 +0000 (04:57 +0100)]
add missing snake case attribute, update hash