We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37c48b0 commit c0d8eddCopy full SHA for c0d8edd
crates/semver-check/src/main.rs
@@ -7,6 +7,11 @@
7
//! An example with the word "MINOR" at the top is expected to successfully
8
//! build against the before and after. Otherwise it should fail. A comment of
9
//! "// Error:" will check that the given message appears in the error output.
10
+//!
11
+//! The code block can also include the annotations:
12
+//! - `run-fail`: The test should fail at runtime, not compiletime.
13
+//! - `dont-deny`: By default tests have a `#![deny(warnings)]`. This option
14
+//! avoids this attribute. Note that `#![allow(unused)]` is always added.
15
16
use std::error::Error;
17
use std::fs;
0 commit comments