rust/crates
bors[bot] 3c468ab2fc
Merge #10542
10542: Use workspace cargo to fetch rust source's metadata r=lnicola a=Alexendoo

Previously the detected cargo is the global one, as it uses the
directory of the rust source which doesn't pick up the local override

This fixes the case in clippy where the local rust toolchain is a recent
nightly that has a 2021 edition Cargo.toml. The global (stable) cargo
returns an error attempting to parse it

Fixes #10445

Co-authored-by: Alex Macleod <alex@macleod.io>
2021-10-16 10:28:46 +00:00
..
base_db internal: add integrated test for token censoring 2021-10-10 16:52:21 +03:00
cfg a few clippy fixes 2021-10-14 19:57:21 +01:00
flycheck a few clippy fixes 2021-10-14 19:57:21 +01:00
hir Merge #10546 2021-10-14 19:51:34 +00:00
hir_def internal: add integrated test for token censoring 2021-10-10 16:52:21 +03:00
hir_expand Merge #10514 2021-10-10 18:09:13 +00:00
hir_ty internal: update expect 2021-10-09 17:17:16 +03:00
ide a few clippy fixes 2021-10-14 19:57:21 +01:00
ide_assists Hide private methods in generate_delegate_methods 2021-10-16 13:16:22 +03:00
ide_completion Saw a FIXME comment and decided to fix it. 2021-10-12 11:52:31 -04:00
ide_db resolve ControlFlow ourself instead of hard coding. 2021-10-13 21:19:41 +08:00
ide_diagnostics Fix missing_fields diagnostic fix replacing wrong text ranges 2021-10-15 19:27:19 +02:00
ide_ssr internal: update expect 2021-10-09 17:17:16 +03:00
limit internal: add API to check what are the max limits in practice 2021-07-31 18:26:43 +03:00
mbe internal: clean up code duplication 2021-10-10 21:08:10 +03:00
parser Support let...else 2021-10-07 17:06:24 +02:00
paths Fix miscellaneous Clippy lints 2021-10-03 23:53:30 +11:00
proc_macro_api Fix miscellaneous Clippy lints 2021-10-03 23:53:30 +11:00
proc_macro_srv internal: update expect 2021-10-09 17:17:16 +03:00
proc_macro_test cargo_metadata 0.14 2021-07-09 11:01:55 -04:00
profile Fix miscellaneous Clippy lints 2021-10-03 23:53:30 +11:00
project_model Use workspace cargo to fetch rust source's metadata 2021-10-14 16:20:11 +01:00
rust-analyzer Merge #10517 2021-10-14 11:57:16 +00:00
sourcegen Add semicolons for consistency 2021-10-03 23:39:43 +11:00
stdx Kill the child process before waiting in streaming_output 2021-10-14 13:53:25 +02:00
syntax Merge #10545 2021-10-14 20:10:59 +00:00
test_utils internal: move tests 2021-10-10 12:39:58 +03:00
text_edit Fix miscellaneous Clippy lints 2021-10-03 23:53:30 +11:00
toolchain minor: drop dummy authors field 2021-07-05 14:19:41 +03:00
tt Replace if let with match where appropriate 2021-10-05 09:00:21 +11:00
vfs Merge #10423 2021-10-12 18:35:03 +00:00
vfs-notify Fix miscellaneous Clippy lints 2021-10-03 23:53:30 +11:00