Move --check-cfg documentation to stable books
This commit is contained in:
parent
909fcfcb6a
commit
a20de73ccf
38 changed files with 137 additions and 134 deletions
|
@ -5,7 +5,7 @@ LL | #[cfg(uniz)]
|
|||
| ^^^^ help: there is a config with a similar name: `unix`
|
||||
|
|
||||
= help: to expect this configuration use `--check-cfg=cfg(uniz)`
|
||||
= note: see <https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html> for more information about checking conditional configuration
|
||||
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
||||
= note: `#[warn(unexpected_cfgs)]` on by default
|
||||
|
||||
warning: 1 warning emitted
|
||||
|
|
|
@ -6,7 +6,7 @@ LL | #[cfg(feature = "invalid")]
|
|||
|
|
||||
= note: expected values for `feature` are: `test`
|
||||
= help: to expect this configuration use `--check-cfg=cfg(feature, values("invalid"))`
|
||||
= note: see <https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html> for more information about checking conditional configuration
|
||||
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
||||
= note: `#[warn(unexpected_cfgs)]` on by default
|
||||
|
||||
warning: 1 warning emitted
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue