Files
rust/src/test
bors da5b6467c3 Auto merge of #37247 - jseyfried:future_proof_no_link, r=nrc
macros: Future proof `#[no_link]`

This PR future proofs `#[no_link]` for macro modularization (cc #35896).

First, we resolve all `#[no_link] extern crate`s. `#[no_link]` crates without `#[macro_use]` or `#[macro_reexport]` are not resolved today, this is a [breaking-change]. For example,
```rust
```
Any breakage can be fixed by simply removing the `#[no_link] extern crate`.

Second, `#[no_link] extern crate`s will define an empty module in type namespace to eventually allow importing the crate's macros with `use`. This is a [breaking-change], for example:
```rust
mod syntax {} //< This becomes a duplicate error.
```

r? @nrc
2016-10-21 01:48:31 -07:00
..
2016-09-27 06:43:51 +00:00
2016-10-19 10:05:03 +00:00
2016-09-09 22:28:19 +01:00
2016-10-04 20:43:43 +03:00
2016-09-23 04:26:59 +00:00
2016-10-19 10:03:06 +00:00
2016-10-18 23:23:40 +03:00