about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-04-08 20:55:12 +1000
committerGitHub <noreply@github.com>2025-04-08 20:55:12 +1000
commit42fdd7deee08cda78283f83e5eb2ce0dd5e995d0 (patch)
tree4e26a607d674b7e2461407540e95833efb56b557 /src/doc
parent24369adae727e385137e219052f0f1ae90ecdf87 (diff)
parent742b37837165ef0263f70c1fea533b7a3e598fce (diff)
downloadrust-42fdd7deee08cda78283f83e5eb2ce0dd5e995d0.tar.gz
rust-42fdd7deee08cda78283f83e5eb2ce0dd5e995d0.zip
Rollup merge of #139490 - RalfJung:unstable-intrinsics-docs, r=oli-obk
Update some comment/docs related to "extern intrinsic" removal

Follow-up to https://github.com/rust-lang/rust/pull/139455.

r? `@oli-obk`
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/unstable-book/src/language-features/intrinsics.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/doc/unstable-book/src/language-features/intrinsics.md b/src/doc/unstable-book/src/language-features/intrinsics.md
index a0e38f340f5..9e59dd88998 100644
--- a/src/doc/unstable-book/src/language-features/intrinsics.md
+++ b/src/doc/unstable-book/src/language-features/intrinsics.md
@@ -53,7 +53,8 @@ Various intrinsics have native MIR operations that they correspond to. Instead o
 backends to implement both the intrinsic and the MIR operation, the `lower_intrinsics` pass
 will convert the calls to the MIR operation. Backends do not need to know about these intrinsics
 at all. These intrinsics only make sense without a body, and can be declared as a `#[rustc_intrinsic]`.
-The body is never used, as calls to the intrinsic do not exist anymore after MIR analyses.
+The body is never used as the lowering pass implements support for all backends, so we never have to
+use the fallback logic.
 
 ## Intrinsics without fallback logic