Silence crate external span error in x86 platforms

This causes issues in at least `dist-i586-gnu-i586-i686-musl`,
possibly others.
This commit is contained in:
Esteban Küber 2019-10-29 10:19:40 -07:00
parent a3b86879a0
commit 213fd1f37f
2 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,5 @@
// ignore-x86
// ^ due to stderr output differences
use std::ops::Deref;
trait Trait {}

View File

@ -1,5 +1,5 @@
error: `impl` item signature doesn't match `trait` item signature
--> $DIR/mismatched_trait_impl-2.rs:8:5
--> $DIR/mismatched_trait_impl-2.rs:10:5
|
LL | fn deref(&self) -> &dyn Trait {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ found fn(&Struct) -> &dyn Trait