Content-Length: 24256 | pFad | https://doc.rust-lang.org/std/string/../error/../string/../../../std/../../error_codes/./E0536.html

E0536 - Error codes index

Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Error code E0536

Note: this error code is no longer emitted by the compiler.

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.









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://doc.rust-lang.org/std/string/../error/../string/../../../std/../../error_codes/./E0536.html

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy