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

E0736 - 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 E0736

Functions marked with the #[naked] attribute are restricted in what other attributes they may be marked with.

Notable attributes that are incompatible with #[naked] are:

  • #[inline]
  • #[track_caller]
  • #[test], #[ignore], #[should_panic]

Erroneous code example:

#![allow(unused)]
fn main() {
#[inline]
#[unsafe(naked)]
fn foo() {}
}

These incompatibilities are due to the fact that naked functions deliberately impose strict restrictions regarding the code that the compiler is allowed to produce for this function.









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/./E0736.html

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy