about summary refs log tree commit diff
path: root/crates/rust-analyzer/tests
AgeCommit message (Collapse)AuthorLines
2022-07-18Auto merge of #12549 - bitgaoshu:goto_where_trait_m_impl, r=Veykrilbors-1/+1
feat: Go to implementation of trait methods try goto where the trait method implies, #4558
2022-07-08Update remaining GitHub URLsJonas Schievink-2/+2
2022-07-05Complete associated type only in trait generic argHongxu Xu-17/+20
Fix tidy check does not work for marks in multiline
2022-06-25fix test in resolve_proc_macro: Foo is Ownerbitgaoshu-1/+1
2022-06-10Auto merge of #12502 - Veykril:deps, r=Veykrilbors-0/+1
internal: Bump Dependencies
2022-06-10internal: Bump DependenciesLukas Wirth-0/+1
2022-06-08Fix a couple of weak warnings found by rust-analyzer itselfbjorn3-1/+1
2022-05-21add failing testBernardo Uriarte-1/+39
2022-05-18Improve docs generation assistJonas Schievink-2/+2
2022-05-01Update config usage in slow testsLukas Wirth-5/+11
2022-05-01delete another swap filePeh-0/+0
2022-05-01update crates names in slow-tests/tidy.rsPeh-16/+16
2022-04-13Update CI for Rust borsDeadbeef-1/+1
2022-04-04fix: Show the path to be created in the unresolved-module fix labelLukas Wirth-4/+4
2022-03-17Bump depsLaurențiu Nicola-0/+1
2022-03-14:arrow_up: xshellAleksey Kladov-15/+24
2022-03-12more clippy fixes:Matthias Krüger-1/+1
clippy::match_like_matches_macro clippy::to_string_in_format_args clippy::single_char_add_str clippy::filter_map_identity clippy::clone_on_copy clippy::useless_format clippy::unused_unit
2022-03-12fix clippy::single_char_patternMatthias Krüger-4/+4
2022-03-11fix: Show what file paths were expected for unresolved modulesLukas Wirth-21/+49
2022-03-06Update tidy ignore listLukas Wirth-3/+3
2022-01-26Fix merge commit check for git 2.35Jonas Schievink-4/+3
2022-01-06feat: poke user when supplying faulty configurationsLukas Wirth-1/+1
2022-01-01test: force client-side watchingAleksey Kladov-0/+8
The direct reason for this is to fix CI on windows, which seems to fail for some reason after we fixed the watcher-selection logic which (I think) changed the tests behavior to use notify rather than client. But this patch seems to make sense in general -- file watching is notoriously finicky, so controlling it explicitly leads to less fragile tests.
2022-01-01better error messageAleksey Kladov-1/+3
2021-12-04Bump most depsLaurențiu Nicola-1/+0
2021-11-17SimplifyLukas Wirth-1/+1
2021-11-17Check for derive attributes by item path, not `derive` identifierLukas Wirth-0/+3
2021-11-04Use array into_iter in more placesLaurențiu Nicola-2/+2
2021-10-27Remove filtered completion list usage in completion testsLukas Wirth-0/+1
2021-10-24Revert edition change in testLaurențiu Nicola-1/+1
2021-10-22Use array IntoIterLaurențiu Nicola-2/+2
2021-10-21Migrate to edition 2021Lukas Wirth-3/+3
2021-10-17Merge #10562bors[bot]-0/+2
10562: fix: Fix clippy attribute completions always prefixing inserting `clippy::` r=Veykril a=Veykril Fixes https://github.com/rust-analyzer/rust-analyzer/issues/7144 Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-10-17Fix clippy attribute completions always prefixing with `clippy::`Lukas Wirth-0/+2
2021-10-16more clippy fixesMilo-1/+1
2021-10-14Merge #10503bors[bot]-0/+87
10503: Only include targets of packages that are workspace members r=Veykril a=bcully CargoWorkspace's package list includes packages that are path dependencies, even if those packages aren't actually members of the cargo workspace. As a result, rust-analyzer's runnable finder, which returns the target from the first workspace that has a matching package, may select the wrong working directory, causing runnables to fail, e.g., ``` error: package `root` cannot be tested because it requires dev-dependencies and is not a member of the workspace ``` To fix this, we filter out packages that aren't members of the workspace when searching for targets. Fixes #7764 Co-authored-by: Brendan Cully <brendan@cully.org>
2021-10-12Update tidy ignore pathLukas Wirth-1/+1
2021-10-11Only include targets of packages that are workspace membersBrendan Cully-0/+87
CargoWorkspace's package list includes packages that are path dependencies, even if those packages aren't actually members of the cargo workspace. As a result, rust-analyzer's runnable finder, which returns the target from the first workspace that has a matching package, may select the wrong working directory, causing runnables to fail, e.g., ``` error: package `root` cannot be tested because it requires dev-dependencies and is not a member of the workspace ``` To fix this, we filter out packages that aren't members of the workspace when searching for targets. Fixes #7764
2021-09-24Merge #10105bors[bot]-0/+2
10105: RfC: Use `todo!()` instead of `()` for missing fields r=jonas-schievink a=jo-so Most commonly a field of a struct can be initialized with its default value than an empty tuple. Co-authored-by: Jörg Sommer <joerg@jo-so.de>
2021-09-23Split the hover module upLukas Wirth-1/+1
2021-09-21Rename some assistsLukas Wirth-1/+1
2021-09-14Exclude test file from rust tidy checkLukas Wirth-0/+1
2021-09-13Add proc-macro fixture directiveLukas Wirth-1/+2
2021-09-09Use `todo!()` instead of `()` for missing fieldsJörg Sommer-0/+2
The generated code with `()` doesn't compile in most of the cases. To signal the developer there's something to do, fill in `todo!()`. Because the file *missing_fields.rs* contains the string `todo!()` it needs an exception for the test *check_todo*.
2021-08-30switch `log` crate to `tracing`Dezhi Wu-1/+4
2021-08-10implement feedback from reviewYoshua Wuyts-1/+1
2021-08-10Add trait codegen to `add_missing_impl_members` assistYoshua Wuyts-0/+1
2021-08-08exclude files from tidy checkYoshua Wuyts-0/+2
2021-07-19fix testsAleksey Kladov-1/+12
2021-07-14Show test mod runnable in outline modulesLukas Wirth-0/+43