diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2021-04-04 00:19:38 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-04 00:19:38 +0900 |
| commit | 6a436aaabfa81d5f5030e128aea1705aa940d0b3 (patch) | |
| tree | 430145735fdf34fb34dcc1c80826489b5e5ef6c0 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 961fa632d678362b303678e6b36b93764fd63322 (diff) | |
| parent | 99f3e889b1dd3fca8a6ac8d32b6bdcc444dd333a (diff) | |
| download | rust-6a436aaabfa81d5f5030e128aea1705aa940d0b3.tar.gz rust-6a436aaabfa81d5f5030e128aea1705aa940d0b3.zip | |
Rollup merge of #83787 - digama0:patch-1, r=bjorn3
Monomorphization doc fix
Only public items are monomorphization roots. This can be confirmed by noting that this program compiles:
```rust
fn foo<T>() { if true { foo::<Option<T>>() } }
fn bar() { foo::<()>() }
```
See also the [zulip thread](https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/Why.20are.20non.20public.20items.20monomorphization.20roots.3F).
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
