Mark Rousskov
67978a7e97
Bump to 1.69.0
2023-01-20 18:06:54 -05:00
bors
9a6294d703
Auto merge of #13993 - OmarTawfik-forks:fix-server-path, r=Veykril
...
fix: substitute vscode variables in `config.serverPath`
From comment by `@Veykril` in https://github.com/rust-lang/rust-analyzer/issues/13939#issuecomment-1398187320 :
> Yep, we pull the server path first, then substitute the configs, that's the wrong order.
6e52c64031/editors/code/src/ctx.ts (L155-L161)
Fixes #13939
2023-01-20 22:17:08 +00:00
Felix S. Klock II
5fa1347331
Revert "Make PROC_MACRO_DERIVE_RESOLUTION_FALLBACK a hard error"
...
This reverts commit 7d82cadd97 .
I am doing this to buy us some time with respect to issue #106337 w.r.t. the
1.67 release.
2023-01-20 17:13:55 -05:00
bors
303737dad7
Auto merge of #13989 - Veykril:hover, r=Veykril
...
internal: Remove hover fallback in favor of ranged hover
The fallback is usually more annoying than useful at this point (it messes with the range of diagnostic popups a lot), we now have a ranged hover to check the type of something which works a lot better.
Closes https://github.com/rust-lang/rust-analyzer/issues/11602
2023-01-20 22:00:22 +00:00
Michael Howell
c07a722847
diagnostics: remvoe unnecessary use of source_map.start_point
2023-01-20 14:53:34 -07:00
Michael Howell
dca160a06a
diagnostics: use module_path to check crate import instead of strings
2023-01-20 14:53:34 -07:00
Michael Howell
e237690a28
diagnostics: add }; only if { was added too
2023-01-20 14:53:33 -07:00
Michael Howell
e9d8d238ef
diagnostics: suggest changing s@self::{macro}@::macro for exported
...
Fixes #99695
2023-01-20 14:52:24 -07:00
bors
94a300b9b8
Auto merge of #105102 - compiler-errors:copy-impl-considering-regions, r=lcnr
...
Check ADT fields for copy implementations considering regions
Fixes #88901
r? `@ghost`
2023-01-20 21:29:52 +00:00
bors
ce460dcd14
Auto merge of #105102 - compiler-errors:copy-impl-considering-regions, r=lcnr
...
Check ADT fields for copy implementations considering regions
Fixes #88901
r? `@ghost`
2023-01-20 21:29:52 +00:00
Michael Howell
112d85c1ec
rustdoc: use CSS inline layout for radio line instead of flexbox
...
This uses less code to lay them out the same way.
2023-01-20 14:28:16 -07:00
OmarTawfik
7198cd04ac
allow using vscode variables in config.serverPath
2023-01-20 13:22:11 -08:00
Lukas Wirth
4685b97f74
Remove hover fallback in favor of ranged hover
2023-01-20 21:52:05 +01:00
Alex Vasilev
dd9dcca7a2
assist id fix
2023-01-21 00:47:02 +05:30
Lukas Markeffsky
228ddf04fc
fix overlapping spans for clippy::uninlined_format_args
2023-01-20 20:16:37 +01:00
Lukas Markeffsky
10c868686d
fix overlapping spans for clippy::uninlined_format_args
2023-01-20 20:16:37 +01:00
Lukas Markeffsky
e415e2f1a2
fix overlapping spans for explicit_outlives_requirements in macros
...
also delete trailing comma if necessary
2023-01-20 20:16:37 +01:00
Lukas Markeffsky
31443c63b5
preserve delim spans during macro_rules! expansion if able
2023-01-20 20:16:37 +01:00
Lukas Markeffsky
b9e8286c85
add debug assertion for suggestions with overlapping parts
2023-01-20 20:16:37 +01:00
Alex Vasilev
1ab58b190e
cargo test
2023-01-21 00:42:29 +05:30
Alex Vasilev
ddb2f8760b
typo fix
2023-01-21 00:30:38 +05:30
Laurențiu Nicola
5691c20bb4
Bump serde and serde_json
2023-01-20 20:57:27 +02:00
Laurențiu Nicola
2901e2803f
Bump anyhow
2023-01-20 20:54:37 +02:00
bjorn3
598f090956
Update to Cranelift 0.92
2023-01-20 18:52:58 +00:00
Alex Vasilev
69ffbe25a1
feat: add braces assist
2023-01-21 00:17:23 +05:30
bors
5ce39f42bd
Auto merge of #107120 - weihanglo:update-cargo, r=weihanglo
...
Update cargo
3 commits in 50eb688c2bbea5de5a2e8496230a7428798089d1..985d561f0bb9b76ec043a2b12511790ec7a2b954
2023-01-19 10:09:05 +0000 to 2023-01-20 14:39:28 +0000
- Stabilize sparse-registry (rust-lang/cargo#11224 )
- Wrapper type for data that should never be logged (rust-lang/cargo#11545 )
- Add semver rule for lints (rust-lang/cargo#11596 )
r? `@ghost`
2023-01-20 18:25:42 +00:00
bjorn3
6eef214e46
Separate out abi-cafe runs into separate CI jobs
...
This increases build parallelism
2023-01-20 17:49:59 +00:00
bjorn3
219cdbaac0
Fix clif ir writing for simd_gather
2023-01-20 17:40:53 +00:00
Maybe Waffle
70f9d52079
Add and use expect methods to hir.
2023-01-20 17:40:50 +00:00
Ulrich Weigand
492d928e44
Enable sanitizers for s390x-linux
...
Include sanitizers supported by LLVM on s390x (asan, lsan, msan, tsan)
in the target definition, as well as in the compiletest supported list.
Build sanitizer runtime for the target. Enable sanitizers in the CI.
2023-01-20 18:34:24 +01:00
bjorn3
c6ad186298
Use panic_nounwind and panic_cannot_unwind where necessary
...
These were either regular unwinding panics or aborts in the past but got
changed somewhat recently.
2023-01-20 17:27:39 +00:00
DebugSteven
a641b929ad
remove leading comma when there are no args in check macro expansion
2023-01-20 10:10:47 -07:00
DebugSteven
540ca2ff2a
run cargo install to check for x installation and version
2023-01-20 10:05:19 -07:00
Weihang Lo
ea4620a710
Update cargo
...
3 commits in 50eb688c2bbea5de5a2e8496230a7428798089d1..985d561f0bb9b76ec043a2b12511790ec7a2b954
2023-01-19 10:09:05 +0000 to 2023-01-20 14:39:28 +0000
- Stabilize sparse-registry (rust-lang/cargo#11224 )
- Wrapper type for data that should never be logged (rust-lang/cargo#11545 )
- Add semver rule for lints (rust-lang/cargo#11596 )
2023-01-20 15:53:13 +00:00
Alex Crichton
3f4fdce0de
Pull in more LLVM commits
2023-01-20 07:48:59 -08:00
bjorn3
6c58be8e51
Fix rustc test suite
2023-01-20 15:35:50 +00:00
Lukas Wirth
a542bd46bf
Split out some hover functions
2023-01-20 16:30:08 +01:00
bors
a6269dad38
Auto merge of #107106 - matthiaskrgr:rollup-g7r1ep0, r=matthiaskrgr
...
Rollup of 6 pull requests
Successful merges:
- #106699 ([drop tracking] Visit break expressions )
- #106738 (Fix known-bug annotations)
- #106891 (Tweak "borrow closure argument" suggestion)
- #106928 (add raw identifier for keyword in suggestion)
- #107065 (Clippy: Make sure to include in beta: Move `unchecked_duration_subtraction` to pedantic)
- #107068 (autoderive Subdiagnostic for AddtoExternBlockSuggestion)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
2023-01-20 15:28:40 +00:00
bors
ce67dea2ac
Auto merge of #13988 - Veykril:hover-no-markdown, r=Veykril
...
Fix markdown removal in hover handling whitespace weirdly
Fixes https://github.com/rust-lang/rust-analyzer/issues/10028
2023-01-20 15:23:54 +00:00
Lukas Wirth
c5b1e3f2ae
Fix markdown removal in hover handling whitespace weirdly
2023-01-20 14:29:12 +01:00
bors
04a41f889f
Auto merge of #107105 - matthiaskrgr:rollup-rkz9t7r, r=matthiaskrgr
...
Rollup of 8 pull requests
Successful merges:
- #106783 (Recover labels written as identifiers)
- #106973 (Don't treat closures from other crates as local)
- #106979 (Document how to get the type of a default associated type)
- #107053 (signal update string representation for haiku.)
- #107058 (Recognise double-equals homoglyph)
- #107067 (Custom MIR: Support storage statements)
- #107076 (Added const-generic ui test case for issue #106419 )
- #107091 (Fix broken format strings in `infer.ftl`)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
2023-01-20 12:58:13 +00:00
bjorn3
fb6d048c4d
Update patch
2023-01-20 12:49:27 +01:00
bjorn3
92b4c76652
Update rustup.sh for the moved dir of the sysroot source
2023-01-20 12:41:27 +01:00
bjorn3
7d14e606be
Rustup to rustc 1.68.0-nightly ( 4c83bd03a 2023-01-19)
2023-01-20 12:40:54 +01:00
chansuke
081c6178fe
Fix spelling inconsistence of mdBook
2023-01-20 20:29:04 +09:00
bjorn3
954dfd1198
Sync from rust 56ee85274e
2023-01-20 12:22:21 +01:00
Valdemar Erk
d8f8adfe3d
add example of joining with a absolute path
2023-01-20 12:03:43 +01:00
bors
d46d012c38
Auto merge of #13978 - bvanjoi:array-match, r=Veykril
...
feat: array match
fixed https://github.com/rust-lang/rust-analyzer/issues/13970
2023-01-20 10:30:18 +00:00
Valdemar Erk
ec3da87582
Add note about absolute paths to Path::join
2023-01-20 11:16:38 +01:00
Ikko Eltociear Ashimine
1adb4d6e5f
Fix typo in opaque_types.rs
...
paramters -> parameters
2023-01-20 17:56:29 +09:00