diff options
| author | bors <bors@rust-lang.org> | 2018-12-06 15:08:11 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-12-06 15:08:11 +0000 |
| commit | 4bb5d35659b6d8579007f49db09aa1d35782b834 (patch) | |
| tree | 270fb1c0ed6763b1ed5cfba48e663c157bc5a8b8 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 367e783e6f66a4dba32decdc68a262953d2f3f1b (diff) | |
| parent | eb1d2e637ee9be0d111feb435b068081f10e6ec3 (diff) | |
| download | rust-4bb5d35659b6d8579007f49db09aa1d35782b834.tar.gz rust-4bb5d35659b6d8579007f49db09aa1d35782b834.zip | |
Auto merge of #56392 - petrochenkov:regensym, r=oli-obk
Delay gensym creation for "underscore items" (`use foo as _`/`const _`) until name resolution So they cannot be cloned by macros. See https://github.com/rust-lang/rust/pull/56303 for the discussion. Mostly fix cross-crate use of underscore items by inverting the "gensyms are lost in metadata" bug as described in https://github.com/rust-lang/rust/pull/56303#issuecomment-442464695. Fix unused import warnings for single-segment imports (first commit) and `use crate_name as _` imports (as specified in https://github.com/rust-lang/rust/pull/56303#issuecomment-442274118). Prohibit accidentally implemented `static _: TYPE = EXPR;` (cc https://github.com/rust-lang/rust/pull/55983). Add more tests for `use foo as _` imports.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
