mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-26 17:57:19 +00:00
Fix codegen of parser inline tests runner
When running `cargo codegen` the `crates/parser/test_data/generated/runner.rs` file is only updated when some file in `crates/parser/test_data/inline` changes. However this is not sufficient in all cases
This commit is contained in:
parent
7236109f56
commit
18d6e281b3
2 changed files with 64 additions and 66 deletions
|
|
@ -721,16 +721,16 @@ mod err {
|
|||
#[test]
|
||||
fn bad_asm_expr() { run_and_expect_errors("test_data/parser/inline/err/bad_asm_expr.rs"); }
|
||||
#[test]
|
||||
fn comma_after_default_values_syntax() {
|
||||
run_and_expect_errors("test_data/parser/inline/err/comma_after_default_values_syntax.rs");
|
||||
}
|
||||
#[test]
|
||||
fn comma_after_functional_update_syntax() {
|
||||
run_and_expect_errors(
|
||||
"test_data/parser/inline/err/comma_after_functional_update_syntax.rs",
|
||||
);
|
||||
}
|
||||
#[test]
|
||||
fn comma_after_default_values_syntax() {
|
||||
run_and_expect_errors("test_data/parser/inline/err/comma_after_default_values_syntax.rs");
|
||||
}
|
||||
#[test]
|
||||
fn crate_visibility_empty_recover() {
|
||||
run_and_expect_errors("test_data/parser/inline/err/crate_visibility_empty_recover.rs");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue