about summary refs log tree commit diff
path: root/src/test/ui/compile-fail-migration/object-lifetime-default-from-rptr-struct-error.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-08-13 17:10:04 +0000
committerbors <bors@rust-lang.org>2018-08-13 17:10:04 +0000
commitd5a448b3f47b22c9cb010198bdcc49d4392b090b (patch)
tree9f47b8e75e0a508001d99285f1481bbdef5eb054 /src/test/ui/compile-fail-migration/object-lifetime-default-from-rptr-struct-error.rs
parenta78ae85e5942b5d41c7bddf8243ede7f350d4886 (diff)
parentdd0a766e06fc553a0321fb04eb51910bfd2c7097 (diff)
downloadrust-d5a448b3f47b22c9cb010198bdcc49d4392b090b.tar.gz
rust-d5a448b3f47b22c9cb010198bdcc49d4392b090b.zip
Auto merge of #53270 - petrochenkov:macuse-regr, r=alexcrichton
Fix a few regressions from enabling macro modularization

The first commit restores the old behavior for some minor unstable stuff (`rustc_*` and `derive_*` attributes) and adds a new feature gate for arbitrary tokens in non-macro attributes.

The second commit fixes https://github.com/rust-lang/rust/issues/53205

The third commit fixes https://github.com/rust-lang/rust/issues/53144.
Same technique is used as for other things blocking expansion progress - if something causes indeterminacy too often, then prohibit it.
In this case referring to crate-local macro-expanded `#[macro_export]` macros via module-relative paths is prohibited, see comments in code for more details.

cc https://github.com/rust-lang/rust/pull/50911
Diffstat (limited to 'src/test/ui/compile-fail-migration/object-lifetime-default-from-rptr-struct-error.rs')
0 files changed, 0 insertions, 0 deletions