tests: remove ignore directives from tests that mention core/alloc/std spans.
This commit is contained in:
parent
f5892c00ac
commit
8deff18529
164 changed files with 229 additions and 585 deletions
|
|
@ -1,8 +1,3 @@
|
|||
// FIXME: missing sysroot spans (#53081)
|
||||
// ignore-i586-unknown-linux-gnu
|
||||
// ignore-i586-unknown-linux-musl
|
||||
// ignore-i686-unknown-linux-musl
|
||||
|
||||
use std::fmt::Debug;
|
||||
|
||||
trait Foo {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
error[E0643]: method `foo` has incompatible signature for trait
|
||||
--> $DIR/impl-generic-mismatch.rs:13:12
|
||||
--> $DIR/impl-generic-mismatch.rs:8:12
|
||||
|
|
||||
LL | fn foo(&self, _: &impl Debug);
|
||||
| ---------- declaration in trait here
|
||||
|
|
@ -13,7 +13,7 @@ LL | fn foo(&self, _: &impl Debug) { }
|
|||
| -- ^^^^^^^^^^
|
||||
|
||||
error[E0643]: method `bar` has incompatible signature for trait
|
||||
--> $DIR/impl-generic-mismatch.rs:22:23
|
||||
--> $DIR/impl-generic-mismatch.rs:17:23
|
||||
|
|
||||
LL | fn bar<U: Debug>(&self, _: &U);
|
||||
| - declaration in trait here
|
||||
|
|
@ -27,7 +27,7 @@ LL | fn bar<U: Debug>(&self, _: &U) { }
|
|||
| ^^^^^^^^^^ ^
|
||||
|
||||
error[E0643]: method `hash` has incompatible signature for trait
|
||||
--> $DIR/impl-generic-mismatch.rs:33:33
|
||||
--> $DIR/impl-generic-mismatch.rs:28:33
|
||||
|
|
||||
LL | fn hash(&self, hasher: &mut impl Hasher) {}
|
||||
| ^^^^^^^^^^^ expected generic parameter, found `impl Trait`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue