diff options
| author | bors <bors@rust-lang.org> | 2018-03-16 02:46:23 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-03-16 02:46:23 +0000 |
| commit | a7170b0412d1baa4e30cb31d1ea326617021f086 (patch) | |
| tree | c29e3be6c0201716b609c9e2f714f8703a580b3a /src/libsyntax_ext | |
| parent | 36b66873187e37a9d79adad89563088a9cb86028 (diff) | |
| parent | 69035f20b92870a7ad5dbc22c65aee971d8f8698 (diff) | |
| download | rust-a7170b0412d1baa4e30cb31d1ea326617021f086.tar.gz rust-a7170b0412d1baa4e30cb31d1ea326617021f086.zip | |
Auto merge of #48524 - abonander:check-macro-stability, r=petrochenkov
check stability of macro invocations I haven't implemented tests yet but this should be a pretty solid prototype. I think as-implemented it will also stability-check macro invocations in the same crate, dunno if we want that or not. I don't know if we want this to go through `rustc::middle::stability` or not, considering the information there wouldn't be available at the time of macro expansion (even for external crates, right?). r? @nrc closes #34079 cc @petrochenkov @durka @jseyfried #38356
Diffstat (limited to 'src/libsyntax_ext')
| -rw-r--r-- | src/libsyntax_ext/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsyntax_ext/lib.rs b/src/libsyntax_ext/lib.rs index 772dec72ab9..5b078535852 100644 --- a/src/libsyntax_ext/lib.rs +++ b/src/libsyntax_ext/lib.rs @@ -67,6 +67,7 @@ pub fn register_builtins(resolver: &mut syntax::ext::base::Resolver, def_info: None, allow_internal_unstable: false, allow_internal_unsafe: false, + unstable_feature: None, }); )* } } @@ -120,6 +121,7 @@ pub fn register_builtins(resolver: &mut syntax::ext::base::Resolver, def_info: None, allow_internal_unstable: true, allow_internal_unsafe: false, + unstable_feature: None }); for (name, ext) in user_exts { |
