Skip to content

Commit

Permalink
fix IDE flags
Browse files Browse the repository at this point in the history
  • Loading branch information
tnowacki committed Jan 30, 2025
1 parent 7de08e3 commit 1bf91bc
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
---

source: crates/move-compiler/tests/move_check_testsuite.rs
info:
flavor: core
edition: 2024.alpha
lint: false
input_file: crates/move-compiler/tests/move_2024/ide_mode/method_and_field_autocomplete.move
---
warning[W09009]: unused struct field
┌─ tests/move_2024/ide_mode/method_and_field_autocomplete.move:6:23
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
---

source: crates/move-compiler/tests/move_check_testsuite.rs
info:
flavor: core
edition: 2024.alpha
lint: false
input_file: crates/move-compiler/tests/move_2024/ide_mode/method_autocomplete.move
---
warning[W09009]: unused struct field
┌─ tests/move_2024/ide_mode/method_autocomplete.move:6:23
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
---

source: crates/move-compiler/tests/move_check_testsuite.rs
info:
flavor: core
edition: 2024.alpha
lint: false
input_file: crates/move-compiler/tests/move_2024/ide_mode/struct_scoped_autocomplete.move
---
warning[W09009]: unused struct field
┌─ tests/move_2024/ide_mode/struct_scoped_autocomplete.move:4:21
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ fn test_config(path: &Path) -> (Option<&'static str>, TestInfo, PackageConfig, F
is_dependency: false,
warning_filter: WarningFiltersBuilder::new_for_source(),
};
if path_extension != UNUSED_EXT {
if path_extension != UNUSED_EXT && path_extension != IDE_EXT {
config
.warning_filter
.union(&WarningFiltersBuilder::unused_warnings_filter_for_test());
Expand Down

0 comments on commit 1bf91bc

Please sign in to comment.