From 213fd1f37f272e352ceb7dcdaddcd90b1da54d61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Esteban=20K=C3=BCber?= Date: Tue, 29 Oct 2019 10:19:40 -0700 Subject: [PATCH] Silence crate external span error in x86 platforms This causes issues in at least `dist-i586-gnu-i586-i686-musl`, possibly others. --- src/test/ui/in-band-lifetimes/mismatched_trait_impl-2.rs | 2 ++ src/test/ui/in-band-lifetimes/mismatched_trait_impl-2.stderr | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/test/ui/in-band-lifetimes/mismatched_trait_impl-2.rs b/src/test/ui/in-band-lifetimes/mismatched_trait_impl-2.rs index 1b524ec3833..eca9a67fcb3 100644 --- a/src/test/ui/in-band-lifetimes/mismatched_trait_impl-2.rs +++ b/src/test/ui/in-band-lifetimes/mismatched_trait_impl-2.rs @@ -1,3 +1,5 @@ +// ignore-x86 +// ^ due to stderr output differences use std::ops::Deref; trait Trait {} diff --git a/src/test/ui/in-band-lifetimes/mismatched_trait_impl-2.stderr b/src/test/ui/in-band-lifetimes/mismatched_trait_impl-2.stderr index c1c4ec9ed7b..d3862e3d4df 100644 --- a/src/test/ui/in-band-lifetimes/mismatched_trait_impl-2.stderr +++ b/src/test/ui/in-band-lifetimes/mismatched_trait_impl-2.stderr @@ -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