Manish Goregaokar 1246f43bf9 Rollup merge of #30863 - jseyfried:no_rc, r=eddyb
Use arena allocation instead of reference counting for `Module`s to fix memory leaks from `Rc` cycles.

A module references its module children and its import resolutions, and an import resolution references the module defining the imported name, so there is a cycle whenever a module imports something from an ancestor module.

For example,
```rust
mod foo { // `foo` references `bar`.
    fn baz() {}
    mod bar { // `bar` references the import.
        use foo::baz; // The import references `foo`.
    }
}
```
2016-01-14 11:04:43 +05:30
..
2015-10-27 23:47:53 +13:00
2015-07-30 06:35:42 +10:00
2015-12-04 08:55:02 -08:00
2015-11-19 11:30:18 -05:00
2015-12-07 00:20:35 +01:00
2013-10-29 16:22:08 -07:00
2015-11-16 18:55:07 -05:00
2015-11-13 15:15:51 -05:00