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

@ -50,7 +50,7 @@ const OPTIONS: &'static [&'static str] = &["volatile", "alignstack", "intel"];
pub fn expand_asm<'cx>(cx: &'cx mut ExtCtxt,
sp: Span,
tts: &[tokenstream::TokenTree])
-> Box<base::MacResult + 'cx> {
-> Box<dyn base::MacResult + 'cx> {
if !cx.ecfg.enable_asm() {
feature_gate::emit_feature_err(&cx.parse_sess,
"asm",