Module rustc_passes::naked_functions
source · Expand description
Checks validity of naked functions.
Structs
Enums
- ItemKind 🔒
Functions
- Checks that function uses non-Rust ABI.
- Checks that function body contains a single inline assembly block.
- Check that the function isn’t inlined.
- Checks that function parameters aren’t used in the function body.
- Checks that parameters don’t use patterns. Mirrors the checks for function declarations.
- provide 🔒