diff options
| author | Mario Carneiro <di.gama@gmail.com> | 2021-04-02 09:33:34 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-02 09:33:34 -0700 |
| commit | 3166e0857defd02d78f5afe1a64380a429967cc7 (patch) | |
| tree | 690ca7b88102f23e3769c6fb5ce0dff07b1aa727 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | a207871d5c22f89093085da89becbb636a45ef89 (diff) | |
| download | rust-3166e0857defd02d78f5afe1a64380a429967cc7.tar.gz rust-3166e0857defd02d78f5afe1a64380a429967cc7.zip | |
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::<()>() }
```Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
