We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0204c2 commit a2d796bCopy full SHA for a2d796b
src/doc/unstable-book/src/language-features/intrinsics.md
@@ -16,13 +16,11 @@ some features that only exist on some backends. Backends can simply not implemen
16
intrinsics without causing any code miscompilations or failures to compile.
17
18
```rust
19
-#![feature(rustc_attrs)]
+#![feature(rustc_attrs, effects)]
20
#![allow(internal_features)]
21
22
#[rustc_intrinsic]
23
-fn some_intrinsic_name() -> u32 {
24
- 42
25
-}
+const unsafe fn const_deallocate(_ptr: *mut u8, _size: usize, _align: usize) {}
26
```
27
28
## Intrinsics lowered to MIR instructions
0 commit comments