The not cfg-predicate was malformed.
Erroneous code example (using cargo doc):
#![feature(doc_cfg)]
#[doc(cfg(not()))]
pub fn main() {
} The not predicate expects one cfg-pattern. Example:
#![feature(doc_cfg)]
#[doc(cfg(not(target_os = "linux")))] // ok!
pub fn main() {
} For more information about the cfg macro, read the section on Conditional Compilation in the Reference.
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/error_codes/E0536.html