Skip to content

Commit

Permalink
macros/unknown-builtin: use hack for musl problems
Browse files Browse the repository at this point in the history
  • Loading branch information
Centril committed Mar 10, 2020
1 parent 87b6bc3 commit bafa5cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/test/ui/macros/unknown-builtin.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl

// error-pattern: cannot find a built-in macro with name `line`

#![feature(rustc_attrs)]
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/macros/unknown-builtin.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: cannot find a built-in macro with name `unknown`
--> $DIR/unknown-builtin.rs:6:1
--> $DIR/unknown-builtin.rs:11:1
|
LL | macro_rules! unknown { () => () }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down

0 comments on commit bafa5cc

Please sign in to comment.