rust/compiler
Mario Carneiro 3166e0857d
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::<()>() }
```
2021-04-02 09:33:34 -07:00
..
2021-03-26 09:32:31 -07:00
2021-03-27 22:16:33 -04:00
2021-03-27 22:16:33 -04:00
2021-03-30 20:31:06 +02:00
2021-03-27 22:16:34 -04:00
2021-03-27 22:16:33 -04:00
2021-03-27 22:16:33 -04:00
2021-03-30 20:31:06 +02:00
2021-03-26 09:32:31 -07:00
2021-03-31 10:13:57 -04:00
2021-03-26 09:32:31 -07:00
2021-03-30 20:31:06 +02:00
2021-04-02 09:33:34 -07:00
2021-03-31 10:16:37 -04:00
2021-03-31 10:15:27 -04:00
2021-03-31 10:16:37 -04:00