rust/src/libsyntax_ext
Andy Russell 0a6fb84738
make panictry! private to libsyntax
This commit completely removes usage of the `panictry!` macro from
outside libsyntax. The macro causes parse errors to be fatal, so using
it in libsyntax_ext caused parse failures *within* a syntax extension to
be fatal, which is probably not intended.

Furthermore, this commit adds spans to diagnostics emitted by empty
extensions if they were missing, à la #56491.
2019-01-02 11:02:30 -05:00
..
deriving Fix trace_macros and log_syntax 2018-12-27 15:51:36 +03:00
asm.rs make panictry! private to libsyntax 2019-01-02 11:02:30 -05:00
assert.rs make panictry! private to libsyntax 2019-01-02 11:02:30 -05:00
Cargo.toml Upgrade smallvec to 0.6.7 and use the new may_dangle feature. 2018-12-10 09:31:27 +11:00
cfg.rs make panictry! private to libsyntax 2019-01-02 11:02:30 -05:00
compile_error.rs Improve error recovery for some built-in macros 2018-12-30 01:43:35 +03:00
concat.rs Improve error recovery for some built-in macros 2018-12-30 01:43:35 +03:00
concat_idents.rs Improve error recovery for some built-in macros 2018-12-30 01:43:35 +03:00
diagnostics.rs Remove licenses 2018-12-25 21:08:33 -07:00
env.rs Improve error recovery for some built-in macros 2018-12-30 01:43:35 +03:00
format.rs make panictry! private to libsyntax 2019-01-02 11:02:30 -05:00
format_foreign.rs Remove licenses 2018-12-25 21:08:33 -07:00
global_asm.rs make panictry! private to libsyntax 2019-01-02 11:02:30 -05:00
lib.rs Remove licenses 2018-12-25 21:08:33 -07:00
log_syntax.rs Make sure feature gate errors are recoverable 2018-12-27 15:51:37 +03:00
proc_macro_decls.rs Remove licenses 2018-12-25 21:08:33 -07:00
proc_macro_impl.rs Remove licenses 2018-12-25 21:08:33 -07:00
proc_macro_server.rs Remove licenses 2018-12-25 21:08:33 -07:00
test.rs Remove licenses 2018-12-25 21:08:33 -07:00
test_case.rs Make sure feature gate errors are recoverable 2018-12-27 15:51:37 +03:00
trace_macros.rs Make sure feature gate errors are recoverable 2018-12-27 15:51:37 +03:00