1
Fork 0

[Gardening] UPDATE - tidy fixes

This commit is contained in:
Jhonny Bill Mena 2022-09-05 12:09:10 -04:00
parent 72f766ae71
commit d14b3af6db
3 changed files with 8 additions and 3 deletions

View file

@ -63,7 +63,12 @@ fn handle_errors(sess: &ParseSess, span: Span, error: AttrError) {
sess.emit_err(session_diagnostics::MultipleStabilityLevels { span });
}
AttrError::UnsupportedLiteral(reason, is_bytestr) => {
sess.emit_err(session_diagnostics::UnsupportedLiteral { span, reason, is_bytestr, source_map: sess.source_map() });
sess.emit_err(session_diagnostics::UnsupportedLiteral {
span,
reason,
is_bytestr,
source_map: sess.source_map(),
});
}
}
}