1
Fork 0

Deny bare trait objects in src/libsyntax_ext

This commit is contained in:
ljedrz 2018-07-12 11:58:16 +02:00
parent c946c2539e
commit 08c113abef
26 changed files with 37 additions and 35 deletions

View file

@ -18,7 +18,7 @@ use syntax::tokenstream::TokenTree;
pub fn expand_trace_macros(cx: &mut ExtCtxt,
sp: Span,
tt: &[TokenTree])
-> Box<base::MacResult + 'static> {
-> Box<dyn base::MacResult + 'static> {
if !cx.ecfg.enable_trace_macros() {
feature_gate::emit_feature_err(&cx.parse_sess,
"trace_macros",