We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
require_annotations
1 parent 7a81808 commit 331f2e3Copy full SHA for 331f2e3
bevy_lint/tests/ui_cargo.rs
@@ -35,8 +35,9 @@ fn main() {
35
..Config::cargo(Path::new("tests/ui-cargo"))
36
};
37
38
- let defaults = config.comment_defaults.base();
39
- defaults.require_annotations = None.into();
+ // We haven't found a way to get error annotations like `#~v ERROR: msg` to work, so we disable
+ // the requirement for them.
40
+ config.comment_defaults.base().require_annotations = None.into();
41
42
// Create the `#@exit-status: CODE` annotation. This can be used to ensure a UI test exits with
43
// a specific exit code (e.g. `bevy_lint` exits with code 101 when a denied lint is found).
0 commit comments