]>
git.lizzy.rs Git - rust.git/log
bors[bot] [Sat, 2 Oct 2021 16:43:24 +0000 (16:43 +0000)]
Merge #10421
10421: minor: Bump npm non-dev deps r=lnicola a=lnicola
Fixes #10407
Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
bors[bot] [Sat, 2 Oct 2021 16:34:03 +0000 (16:34 +0000)]
Merge #10429
10429: internal: remove deprecated method r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Sat, 2 Oct 2021 12:32:23 +0000 (15:32 +0300)]
minor: dead code
Aleksey Kladov [Sat, 2 Oct 2021 12:26:02 +0000 (15:26 +0300)]
internal: remove deprecated method
Aleksey Kladov [Sat, 2 Oct 2021 12:24:32 +0000 (15:24 +0300)]
minor: reduce duplication
bors[bot] [Sat, 2 Oct 2021 12:20:45 +0000 (12:20 +0000)]
Merge #10428
10428: minor: regen r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Sat, 2 Oct 2021 12:20:16 +0000 (15:20 +0300)]
minor: regen
Aleksey Kladov [Sat, 2 Oct 2021 12:20:03 +0000 (15:20 +0300)]
minor: generated code readability
bors[bot] [Sat, 2 Oct 2021 10:21:07 +0000 (10:21 +0000)]
Merge #10427
10427: minor r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Sat, 2 Oct 2021 10:20:45 +0000 (13:20 +0300)]
minor
bors[bot] [Sat, 2 Oct 2021 10:06:24 +0000 (10:06 +0000)]
Merge #10426
10426: internal: use naming that matches intended use-case r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Sat, 2 Oct 2021 10:02:06 +0000 (13:02 +0300)]
internal: untangle usages of ReferenceCategory somewhat
Not everything that can be read or write is a reference, let's try to
use more precise types.
bors[bot] [Sat, 2 Oct 2021 09:54:33 +0000 (09:54 +0000)]
Merge #10425
10425: fix: remove semicolon diagnostics only highlights the semi r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Aleksey Kladov [Sat, 2 Oct 2021 09:51:29 +0000 (12:51 +0300)]
fix: remove semicolon diagnostics only highlights the semi
Aleksey Kladov [Sat, 2 Oct 2021 09:18:18 +0000 (12:18 +0300)]
internal: use naming that matches intended use-case
bors[bot] [Sat, 2 Oct 2021 07:08:48 +0000 (07:08 +0000)]
Merge #10422
10422: fix: overwrite files when calling `patchelf` r=lnicola a=lnicola
Fixes #10379
bors r+
Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
Laurențiu Nicola [Sat, 2 Oct 2021 07:07:50 +0000 (10:07 +0300)]
Remove temporary file on exception
Laurențiu Nicola [Sat, 2 Oct 2021 07:05:39 +0000 (10:05 +0300)]
Overwrite file when running patchelf
Laurențiu Nicola [Sat, 2 Oct 2021 04:37:51 +0000 (07:37 +0300)]
Bump npm non-dev deps
bors[bot] [Fri, 1 Oct 2021 20:01:42 +0000 (20:01 +0000)]
Merge #10418
10418: Add whitespace between lifetime and mut keyword in "expand macro" command r=lnicola a=nathanwhit
Before, we were only adding whitespace between a lifetime and the following ident, which produced invalid code for mutable references.
Before this PR:
```rust
macro_rules! foo {
() => {
pub struct Foo<'a> {
foo: &'a mut str,
}
};
}
foo!(); // <- expand macro here
```
expanded to
```rust
pub struct Foo< 'a>{
foo: & 'amut str,
}
```
with this PR, it expands to
```rust
pub struct Foo< 'a>{
foo: & 'a mut str,
}
```
Co-authored-by: nathan.whitaker <nathan.whitaker01@gmail.com>
nathan.whitaker [Fri, 1 Oct 2021 19:29:26 +0000 (15:29 -0400)]
Add whitespace b/w lifetime and mut in expansion
bors[bot] [Fri, 1 Oct 2021 18:27:55 +0000 (18:27 +0000)]
Merge #10416
10416: docs: add note about `vscode-vim` in `on_enter` r=lnicola a=7596ff
I found myself search for this, so building off of #3013 and #3308, I
hope this note is useful.
Co-authored-by: Cassandra McCarthy <cassie@7596ff.com>
Cassandra McCarthy [Fri, 1 Oct 2021 18:12:32 +0000 (14:12 -0400)]
docs: add note about `vscode-vim` in `on_enter`
I found myself search for this, so building off of #3013 and #3308, I
hope this note is useful.
bors[bot] [Fri, 1 Oct 2021 15:58:58 +0000 (15:58 +0000)]
Merge #10415
10415: minor: Bump deps r=lnicola a=lnicola
Hopefully the new `libc` works now. The FreeBSD issue was fixed in https://github.com/rust-lang/rust/pull/88676.
Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
Laurențiu Nicola [Fri, 1 Oct 2021 15:57:04 +0000 (18:57 +0300)]
Bump notify
Laurențiu Nicola [Fri, 1 Oct 2021 15:55:52 +0000 (18:55 +0300)]
Bump memmap2
Laurențiu Nicola [Fri, 1 Oct 2021 15:51:45 +0000 (18:51 +0300)]
Bump libc
Laurențiu Nicola [Fri, 1 Oct 2021 15:50:52 +0000 (18:50 +0300)]
Bump deps
bors[bot] [Fri, 1 Oct 2021 13:30:30 +0000 (13:30 +0000)]
Merge #10414
10414: internal: Add some profiling calls to name resolution r=jonas-schievink a=jonas-schievink
bors r+
Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
Jonas Schievink [Fri, 1 Oct 2021 13:30:00 +0000 (15:30 +0200)]
Add some profiling calls to name resolution
bors[bot] [Fri, 1 Oct 2021 11:31:32 +0000 (11:31 +0000)]
Merge #10413
10413: fix: Fix format highlighting with `concat!` and `unreachable!` r=jonas-schievink a=jonas-schievink
Last item in https://github.com/rust-analyzer/rust-analyzer/issues/10394, closes https://github.com/rust-analyzer/rust-analyzer/issues/10394
Also documents why/how `is_format_string` even works, since I found that nontrivial.
bors r+
Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
Jonas Schievink [Fri, 1 Oct 2021 11:28:05 +0000 (13:28 +0200)]
Fix format highlighting with `concat!`
bors[bot] [Fri, 1 Oct 2021 11:18:52 +0000 (11:18 +0000)]
Merge #10403
10403: feat: Add semantic token modifier for crate root r=Veykril a=lhvy
Resolves #9073
I managed to implement crate root highlighting for crates mentioned specifically by name (e.g. `serde` in `use serde::Serialize;`), but not for crates referred to with `crate` or `super`. How could I implement this?
> P.S. I'm participating in [Hacktoberfest 2021](https://hacktoberfest.digitalocean.com/). If this PR is up to standard and merged, I'd appreciate if the `hacktoberfest-accepted` label could be added. Thanks!
Co-authored-by: lhvy <me@lhvy.dev>
lhvy [Thu, 30 Sep 2021 15:01:31 +0000 (01:01 +1000)]
Add semantic token modifier for crate root
bors[bot] [Fri, 1 Oct 2021 10:35:15 +0000 (10:35 +0000)]
Merge #10412
10412: feat: highlight `asm!` as format string r=jonas-schievink a=jonas-schievink
![screenshot-2021-10-01-12:34:31](https://user-images.githubusercontent.com/
1786438 /
135606261 -
a1cb6caf -0a7f-45f7-9dde-
0275370b0889 .png)
part of https://github.com/rust-analyzer/rust-analyzer/issues/10394
bors r+
Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
Jonas Schievink [Fri, 1 Oct 2021 10:33:18 +0000 (12:33 +0200)]
Expand `asm!` to `format_args!`
bors[bot] [Fri, 1 Oct 2021 10:20:06 +0000 (10:20 +0000)]
Merge #10411
10411: fix: Parenthesize expressions in `if_to_bool_then` assist where required r=Veykril a=Veykril
bors r+
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
Lukas Wirth [Fri, 1 Oct 2021 10:19:01 +0000 (12:19 +0200)]
Parenthesize expressions in if_to_bool_then assist where required
bors[bot] [Thu, 30 Sep 2021 19:46:57 +0000 (19:46 +0000)]
Merge #10406
10406: internal: Restructure syntax element highlighting into node and token branches r=Veykril a=Veykril
Gets rid of all the unseemly unwraps
bors r+
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
Lukas Wirth [Thu, 30 Sep 2021 19:36:20 +0000 (21:36 +0200)]
Restructure syntax element highlighting
bors[bot] [Thu, 30 Sep 2021 18:38:39 +0000 (18:38 +0000)]
Merge #10404
10404: minor: Simplify r=Veykril a=Veykril
Fixes https://github.com/rust-analyzer/rust-analyzer/issues/10405
bors r+
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
Lukas Wirth [Thu, 30 Sep 2021 18:38:05 +0000 (20:38 +0200)]
Fix add missing semantic token modifier in SUPPORTED_MODIFIERS
Lukas Wirth [Thu, 30 Sep 2021 17:12:37 +0000 (19:12 +0200)]
Simplify
bors[bot] [Thu, 30 Sep 2021 16:18:09 +0000 (16:18 +0000)]
Merge #10402
10402: fix: Don't show flyimport completions in use renames r=Veykril a=Veykril
Fixes https://github.com/rust-analyzer/rust-analyzer/issues/10367
bors r+
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
Lukas Wirth [Thu, 30 Sep 2021 16:15:55 +0000 (18:15 +0200)]
Don't show flyimport completions in use renames
bors[bot] [Thu, 30 Sep 2021 16:10:23 +0000 (16:10 +0000)]
Merge #10398
10398: Give defaultLibrary semantic token modifier to items from standard library r=Veykril a=lhvy
Fixes #8999, fixes #2155
`builtInCrates` could be an alternate name to `defaultLibrary`, which one is better?
> P.S. I'm participating in [Hacktoberfest 2021](https://hacktoberfest.digitalocean.com/). If this PR is up to standard and merged, I'd appreciate if the `hacktoberfest-accepted` label could be added. Thanks!
Co-authored-by: lhvy <me@lhvy.dev>
Co-authored-by: Lucas <me@lhvy.dev>
lhvy [Thu, 30 Sep 2021 16:05:00 +0000 (02:05 +1000)]
Fix builtin_crates return type change
bors[bot] [Thu, 30 Sep 2021 16:03:03 +0000 (16:03 +0000)]
Merge #10401
10401: minor: Test runnables check for test prefix and suffix in attributes only r=Veykril a=Veykril
Fixes https://github.com/rust-analyzer/rust-analyzer/issues/10393
bors r+
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
Lukas Wirth [Thu, 30 Sep 2021 16:01:47 +0000 (18:01 +0200)]
Test runnables check for test prefix and suffix in attributes only
lhvy [Thu, 30 Sep 2021 15:58:09 +0000 (01:58 +1000)]
Add comment
Lucas [Thu, 30 Sep 2021 15:56:30 +0000 (01:56 +1000)]
Reduce allocation in builtin_crates
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
lhvy [Thu, 30 Sep 2021 15:55:29 +0000 (01:55 +1000)]
Remove unneeded semantic token definition
bors[bot] [Thu, 30 Sep 2021 15:33:07 +0000 (15:33 +0000)]
Merge #10400
10400: fix: fix format string highlighting for `todo!` and `unimplemented!` r=jonas-schievink a=jonas-schievink
Part of https://github.com/rust-analyzer/rust-analyzer/issues/10394
These macros require us to see through the `const_format_args!` invocation the panic macros generate, for that we have to add it to our supported built-in macros.
I've also made the macros in the test `#[macro_export]` (turns out they didn't all resolve correctly before this), which changes the output slightly.
bors r+
Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
Jonas Schievink [Thu, 30 Sep 2021 15:27:09 +0000 (17:27 +0200)]
Work around tidy check
lhvy [Thu, 30 Sep 2021 13:40:17 +0000 (23:40 +1000)]
Give defaultLibrary semantic token modifier to items from standard library
bors[bot] [Thu, 30 Sep 2021 15:17:12 +0000 (15:17 +0000)]
Merge #10399
10399: minor: don't drop binders when doing autoderef r=lnicola a=iDawer
This fixes #10396 panic introduced in #10373
Co-authored-by: Dawer <7803845+iDawer@users.noreply.github.com>
Jonas Schievink [Thu, 30 Sep 2021 15:16:39 +0000 (17:16 +0200)]
Add `const_format_args!` builtin macro, fix highlighting
Dawer [Thu, 30 Sep 2021 14:57:15 +0000 (19:57 +0500)]
minor: don't drop binders when doing autoderef
bors[bot] [Thu, 30 Sep 2021 14:37:43 +0000 (14:37 +0000)]
Merge #10397
10397: fix: fix format string highlighting for `panic!` and `assert!` r=jonas-schievink a=jonas-schievink
part of https://github.com/rust-analyzer/rust-analyzer/issues/10394
bors r+
Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
Jonas Schievink [Thu, 30 Sep 2021 14:37:12 +0000 (16:37 +0200)]
Use itertools
Jonas Schievink [Thu, 30 Sep 2021 14:26:41 +0000 (16:26 +0200)]
Less hacky `assert!` expansion
Jonas Schievink [Thu, 30 Sep 2021 13:53:47 +0000 (15:53 +0200)]
Fix format string highlighting in `panic!`
bors[bot] [Thu, 30 Sep 2021 06:07:50 +0000 (06:07 +0000)]
Merge #10395
10395: Add pub(super) along with pub(crate) and pub as a completion keyword r=lnicola a=azdavis
I've gotten used to typing `pc` in front of items to get `pub(crate)`, but recently I needed `pub(super)`. So I tried typing `ps` and it didn't work. Now it should!
Co-authored-by: Ariel Davis <ariel.z.davis@icloud.com>
Ariel Davis [Thu, 30 Sep 2021 04:55:15 +0000 (21:55 -0700)]
Add pub(super) along with pub(crate) and pub as a completion keyword
bors[bot] [Wed, 29 Sep 2021 19:20:12 +0000 (19:20 +0000)]
Merge #10389
10389: fix: use the right `HirFileId` when expanding macros in fn parameters r=Veykril a=SkiFire13
Fixes #10388
Co-authored-by: Giacomo Stevanato <giaco.stevanato@gmail.com>
Giacomo Stevanato [Wed, 29 Sep 2021 19:06:44 +0000 (21:06 +0200)]
Add regression test
Giacomo Stevanato [Wed, 29 Sep 2021 19:06:37 +0000 (21:06 +0200)]
Use the right HirFileId for LowerCtx when expanding macros in fn parameter types
bors[bot] [Wed, 29 Sep 2021 17:21:56 +0000 (17:21 +0000)]
Merge #10384
10384: Add vscode native onEnterRules r=matklad,lnicola a=HKalbasi
This PR copy onEnterRules configurations [from vscode-rust](https://github.com/rust-lang/vscode-rust/blob/master/src/extension.ts#L287) based on discussion in #6254
I understand that the ideal way is to use parser data for this, and probably all other things that language-config do. But since it can't be enabled (or at least it isn't enabled) by default in vscode, I think this is needed (until onEnter becomes official LSP and get vscode support).
People can still configure shortcut and use the parser based onEnter, so it wouldn't harm anyone.
Co-authored-by: hamidreza kalbasi <hamidrezakalbasi@protonmail.com>
bors[bot] [Wed, 29 Sep 2021 13:13:03 +0000 (13:13 +0000)]
Merge #10181
10181: Begining of lsif r=HKalbasi a=HKalbasi
This PR adds a `lsif` command to cli, which can be used as `rust-analyzer lsif /path/to/project > dump.lsif`. It now generates a valid, but pretty useless lsif (only supports folding ranges). The propose of this PR is to discussing about the structure of lsif generator, before starting anything serious.
cc `@matklad` #8696 #3098
Co-authored-by: hamidreza kalbasi <hamidrezakalbasi@protonmail.com>
hamidreza kalbasi [Wed, 29 Sep 2021 12:41:58 +0000 (16:11 +0330)]
remove glob import and cancellables
bors[bot] [Tue, 28 Sep 2021 19:48:03 +0000 (19:48 +0000)]
Merge #10385
10385: Make `extern crate test;` work r=jonas-schievink a=jonas-schievink
This implements support for dependencies that are not added to the extern prelude of a crate, and add the `test` crate from the sysroot as such a dependency.
This does mean we now index `test` on startup, but I didn't notice much of a difference (and also, r-a can be used while it is still indexing).
Fixes https://github.com/rust-analyzer/rust-analyzer/issues/6714
bors r+
Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
Jonas Schievink [Tue, 28 Sep 2021 19:39:41 +0000 (21:39 +0200)]
Implicitly depend on `test`
bors[bot] [Tue, 28 Sep 2021 19:38:59 +0000 (19:38 +0000)]
Merge #10373
10373: fix: `into_iterator` not completed on `Vec<{unknown}>` r=iDawer a=iDawer
Fixes #10297
Co-authored-by: Dawer <7803845+iDawer@users.noreply.github.com>
Dawer [Tue, 28 Sep 2021 19:26:58 +0000 (00:26 +0500)]
fix: replace errors in a type when doing autoderef
Jonas Schievink [Tue, 28 Sep 2021 19:23:46 +0000 (21:23 +0200)]
support non-extern-prelude dependencies
bors[bot] [Tue, 28 Sep 2021 17:23:11 +0000 (17:23 +0000)]
Merge #10382
10382: fix: Fix inline_call breaking RecordExprField shorthands r=Veykril a=Veykril
Fixes #10349
bors r+
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
Lukas Wirth [Tue, 28 Sep 2021 13:31:55 +0000 (15:31 +0200)]
Fix inline_call breaking RecordExprField shorthands
hamidreza kalbasi [Tue, 28 Sep 2021 16:53:25 +0000 (20:23 +0330)]
add vscode native onEnterRules
bors[bot] [Tue, 28 Sep 2021 16:30:07 +0000 (16:30 +0000)]
Merge #10305
10305: Move `GenericParams`'s handling of `impl Trait` into `fn_data_query` r=flodiebold a=SkiFire13
Fixes #10286
Co-authored-by: Giacomo Stevanato <giaco.stevanato@gmail.com>
bors[bot] [Tue, 28 Sep 2021 10:24:44 +0000 (10:24 +0000)]
Merge #10362
10362: feat: Convert a/mod.rs into a.rs r=Veykril a=longfangsong
This is the reverse operation of #10211.
![demo](https://user-images.githubusercontent.com/
13777628 /
134837717 -
074c23e9 -1ca2-4207-b780-
8443b2241272 .gif)
Close #10143.
Co-authored-by: longfangsong <longfangsong@icloud.com>
Co-authored-by: 龙方淞 <longfangsong@icloud.com>
longfangsong [Tue, 28 Sep 2021 02:20:35 +0000 (10:20 +0800)]
Address comments
龙方淞 [Tue, 28 Sep 2021 02:20:35 +0000 (10:20 +0800)]
Update crates/vfs/src/vfs_path.rs
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
龙方淞 [Tue, 28 Sep 2021 02:20:35 +0000 (10:20 +0800)]
Update crates/ide_assists/src/handlers/move_from_mod_rs.rs
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
longfangsong [Tue, 28 Sep 2021 02:20:29 +0000 (10:20 +0800)]
initial commit
bors[bot] [Mon, 27 Sep 2021 18:00:08 +0000 (18:00 +0000)]
Merge #10378
10378: fix: Implement most proc_macro span handling methods r=jonas-schievink a=jonas-schievink
This closes https://github.com/rust-analyzer/rust-analyzer/issues/10368 – some APIs are still missing, but they are either for unstable features or require https://github.com/rust-analyzer/rust-analyzer/issues/9403
bors r+
Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
Jonas Schievink [Mon, 27 Sep 2021 17:58:07 +0000 (19:58 +0200)]
Implement most proc_macro span handling methods
bors[bot] [Mon, 27 Sep 2021 17:43:32 +0000 (17:43 +0000)]
Merge #10377
10377: fix: fix proc macro crash on nightly r=jonas-schievink a=jonas-schievink
Fixes https://github.com/rust-analyzer/rust-analyzer/issues/10235
bors r+
Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
Jonas Schievink [Mon, 27 Sep 2021 17:42:39 +0000 (19:42 +0200)]
Implement `save_span` / `recover_proc_macro_span`
bors[bot] [Mon, 27 Sep 2021 17:19:55 +0000 (17:19 +0000)]
Merge #10375
10375: minor: Use SmallVec<[_; 1]> in `descend_into_macros_impl` r=Veykril a=Veykril
A lot of descends don't actually descend in which case we don't wanna allocate
bors r+
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
Lukas Wirth [Mon, 27 Sep 2021 17:18:26 +0000 (19:18 +0200)]
Use SmallVec<[_; 1]> in `descend_into_macros_impl`
bors[bot] [Mon, 27 Sep 2021 17:05:39 +0000 (17:05 +0000)]
Merge #10374
10374: fix: Make `stringify!` insert/collapse whitespace when needed r=jonas-schievink a=jonas-schievink
Fixes https://github.com/rust-analyzer/rust-analyzer/issues/10365
Unlike rustc, we don't insert newlines, but that should be fine.
bors r+
Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
Jonas Schievink [Mon, 27 Sep 2021 17:02:03 +0000 (19:02 +0200)]
Make `stringify!` prettify its input
This will insert whitespace if the invocation is inside another macro
Dawer [Mon, 27 Sep 2021 16:44:27 +0000 (21:44 +0500)]
fix: replace errors in receiver type when iterating method candidates
bors[bot] [Mon, 27 Sep 2021 16:45:40 +0000 (16:45 +0000)]
Merge #10372
10372: minor: Cleanup descend_into_macros_impl r=Veykril a=Veykril
bors r+
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
Lukas Wirth [Mon, 27 Sep 2021 16:44:40 +0000 (18:44 +0200)]
Cleanup descend_into_macros_impl
bors[bot] [Mon, 27 Sep 2021 15:12:44 +0000 (15:12 +0000)]
Merge #10366
10366: feat: Enable attribute proc macros by default r=lnicola a=lnicola
Closes #9868
bors r+
Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
Laurențiu Nicola [Mon, 27 Sep 2021 15:11:31 +0000 (18:11 +0300)]
Enable attribute proc macros by default
Giacomo Stevanato [Tue, 21 Sep 2021 13:37:47 +0000 (15:37 +0200)]
Update failing test
Giacomo Stevanato [Tue, 21 Sep 2021 13:03:34 +0000 (15:03 +0200)]
Add regression test
Giacomo Stevanato [Tue, 21 Sep 2021 13:36:52 +0000 (15:36 +0200)]
Move `GenericParams`'s handling of `impl Trait` into `GenericParams::generic_params_query`