diff options
| author | Mario Carneiro <di.gama@gmail.com> | 2021-04-02 10:21:23 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-02 10:21:23 -0700 |
| commit | 99f3e889b1dd3fca8a6ac8d32b6bdcc444dd333a (patch) | |
| tree | 6b0cfba7fa78bda21206f75305d04be1bc53a0a6 | |
| parent | e01c3b82110a3338eab2e2d9cffbb74dc7039bc7 (diff) | |
fix
| -rw-r--r-- | compiler/rustc_mir/src/monomorphize/collector.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_mir/src/monomorphize/collector.rs b/compiler/rustc_mir/src/monomorphize/collector.rs index 8ecb0a7cdc5..1fda71d74bb 100644 --- a/compiler/rustc_mir/src/monomorphize/collector.rs +++ b/compiler/rustc_mir/src/monomorphize/collector.rs @@ -66,7 +66,8 @@ //! consider non-generic items, an empty type-substitution set. (In eager //! collection mode, during incremental compilation, all non-generic functions //! are considered as roots, as well as when the `-Clink-dead-code` option is -//! specified. Functions marked `#[no_mangle]` also always act as roots.) +//! specified. Functions marked `#[no_mangle]` and functions called by inlinable +//! functions also always act as roots.) //! //! ### Finding neighbor nodes //! Given a mono item node, we can discover neighbors by inspecting its |
