macros/unknown-builtin: use hack for musl problems

This commit is contained in:
Mazdak Farrokhzad 2020-03-10 08:30:07 +01:00
parent 87b6bc3518
commit bafa5cc9ba
2 changed files with 6 additions and 1 deletions

View File

@ -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)]

View File

@ -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 { () => () }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^