Deny bare trait objects in src/libsyntax_ext
This commit is contained in:
parent
c946c2539e
commit
08c113abef
26 changed files with 37 additions and 35 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue