about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMario Carneiro <di.gama@gmail.com>2021-04-02 09:33:34 -0700
committerGitHub <noreply@github.com>2021-04-02 09:33:34 -0700
commit3166e0857defd02d78f5afe1a64380a429967cc7 (patch)
tree690ca7b88102f23e3769c6fb5ce0dff07b1aa727 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parenta207871d5c22f89093085da89becbb636a45ef89 (diff)
downloadrust-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