auto merge of #19415 : P1start/rust/error-message-fixes, r=alexcrichton
This is the style followed by most other error messages.
This commit is contained in:
commit
acad03a420
23 changed files with 68 additions and 68 deletions
|
|
@ -64,7 +64,7 @@ pub fn expand_asm<'cx>(cx: &'cx mut ExtCtxt, sp: Span, tts: &[ast::TokenTree])
|
|||
match state {
|
||||
Asm => {
|
||||
let (s, style) = match expr_to_string(cx, p.parse_expr(),
|
||||
"inline assembly must be a string literal.") {
|
||||
"inline assembly must be a string literal") {
|
||||
Some((s, st)) => (s, st),
|
||||
// let compilation continue
|
||||
None => return DummyResult::expr(sp),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue