Skip to content

Commit 8deff18

Browse files
committed
tests: remove ignore directives from tests that mention core/alloc/std spans.
1 parent f5892c0 commit 8deff18

File tree

164 files changed

+229
-585
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

164 files changed

+229
-585
lines changed

src/etc/generate-deriving-span-tests.py

-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@
1515
os.path.join(os.path.dirname(__file__), '../test/ui/derives/'))
1616

1717
TEMPLATE = """\
18-
// FIXME: missing sysroot spans (#53081)
19-
// ignore-i586-unknown-linux-gnu
20-
// ignore-i586-unknown-linux-musl
2118
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
2219
2320
{error_deriving}

src/test/ui/async-await/issues/issue-62009-1.rs

-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
// edition:2018
2-
// FIXME: missing sysroot spans (#53081)
3-
// ignore-i586-unknown-linux-gnu
4-
// ignore-i586-unknown-linux-musl
5-
// ignore-i686-unknown-linux-musl
62

73
async fn print_dur() {}
84

src/test/ui/async-await/issues/issue-62009-1.stderr

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
error[E0728]: `await` is only allowed inside `async` functions and blocks
2-
--> $DIR/issue-62009-1.rs:10:5
2+
--> $DIR/issue-62009-1.rs:6:5
33
|
44
LL | fn main() {
55
| ---- this is not `async`
66
LL | async { let (); }.await;
77
| ^^^^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks
88

99
error[E0728]: `await` is only allowed inside `async` functions and blocks
10-
--> $DIR/issue-62009-1.rs:12:5
10+
--> $DIR/issue-62009-1.rs:8:5
1111
|
1212
LL | fn main() {
1313
| ---- this is not `async`
@@ -19,19 +19,19 @@ LL | | }.await;
1919
| |___________^ only allowed inside `async` functions and blocks
2020

2121
error[E0728]: `await` is only allowed inside `async` functions and blocks
22-
--> $DIR/issue-62009-1.rs:16:5
22+
--> $DIR/issue-62009-1.rs:12:5
2323
|
2424
LL | fn main() {
2525
| ---- this is not `async`
2626
...
2727
LL | (|_| 2333).await;
2828
| ^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks
2929

30-
error[E0277]: the trait bound `[closure@$DIR/issue-62009-1.rs:16:5: 16:15]: std::future::Future` is not satisfied
31-
--> $DIR/issue-62009-1.rs:16:5
30+
error[E0277]: the trait bound `[closure@$DIR/issue-62009-1.rs:12:5: 12:15]: std::future::Future` is not satisfied
31+
--> $DIR/issue-62009-1.rs:12:5
3232
|
3333
LL | (|_| 2333).await;
34-
| ^^^^^^^^^^^^^^^^ the trait `std::future::Future` is not implemented for `[closure@$DIR/issue-62009-1.rs:16:5: 16:15]`
34+
| ^^^^^^^^^^^^^^^^ the trait `std::future::Future` is not implemented for `[closure@$DIR/issue-62009-1.rs:12:5: 12:15]`
3535
|
3636
::: $SRC_DIR/libcore/future/mod.rs:LL:COL
3737
|

src/test/ui/closures/closure-move-sync.rs

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// FIXME: missing sysroot spans (#53081)
2-
// ignore-i586-unknown-linux-gnu
3-
// ignore-i586-unknown-linux-musl
4-
// ignore-i686-unknown-linux-musl
51
use std::thread;
62
use std::sync::mpsc::channel;
73

src/test/ui/closures/closure-move-sync.stderr

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0277]: `std::sync::mpsc::Receiver<()>` cannot be shared between threads safely
2-
--> $DIR/closure-move-sync.rs:10:13
2+
--> $DIR/closure-move-sync.rs:6:13
33
|
44
LL | let t = thread::spawn(|| {
55
| ^^^^^^^^^^^^^ `std::sync::mpsc::Receiver<()>` cannot be shared between threads safely
@@ -11,10 +11,10 @@ LL | F: Send + 'static,
1111
|
1212
= help: the trait `std::marker::Sync` is not implemented for `std::sync::mpsc::Receiver<()>`
1313
= note: required because of the requirements on the impl of `std::marker::Send` for `&std::sync::mpsc::Receiver<()>`
14-
= note: required because it appears within the type `[closure@$DIR/closure-move-sync.rs:10:27: 13:6 recv:&std::sync::mpsc::Receiver<()>]`
14+
= note: required because it appears within the type `[closure@$DIR/closure-move-sync.rs:6:27: 9:6 recv:&std::sync::mpsc::Receiver<()>]`
1515

1616
error[E0277]: `std::sync::mpsc::Sender<()>` cannot be shared between threads safely
17-
--> $DIR/closure-move-sync.rs:22:5
17+
--> $DIR/closure-move-sync.rs:18:5
1818
|
1919
LL | thread::spawn(|| tx.send(()).unwrap());
2020
| ^^^^^^^^^^^^^ `std::sync::mpsc::Sender<()>` cannot be shared between threads safely
@@ -26,7 +26,7 @@ LL | F: Send + 'static,
2626
|
2727
= help: the trait `std::marker::Sync` is not implemented for `std::sync::mpsc::Sender<()>`
2828
= note: required because of the requirements on the impl of `std::marker::Send` for `&std::sync::mpsc::Sender<()>`
29-
= note: required because it appears within the type `[closure@$DIR/closure-move-sync.rs:22:19: 22:42 tx:&std::sync::mpsc::Sender<()>]`
29+
= note: required because it appears within the type `[closure@$DIR/closure-move-sync.rs:18:19: 18:42 tx:&std::sync::mpsc::Sender<()>]`
3030

3131
error: aborting due to 2 previous errors
3232

src/test/ui/consts/const-size_of-cycle.rs

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// FIXME: missing sysroot spans (#53081)
2-
// ignore-i586-unknown-linux-gnu
3-
// ignore-i586-unknown-linux-musl
4-
// ignore-i686-unknown-linux-musl
51
// error-pattern: cycle detected
62

73
struct Foo {

src/test/ui/consts/const-size_of-cycle.stderr

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
error[E0391]: cycle detected when const-evaluating + checking `Foo::bytes::{{constant}}#0`
2-
--> $DIR/const-size_of-cycle.rs:8:17
2+
--> $DIR/const-size_of-cycle.rs:4:17
33
|
44
LL | bytes: [u8; std::mem::size_of::<Foo>()]
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
66
|
77
note: ...which requires const-evaluating + checking `Foo::bytes::{{constant}}#0`...
8-
--> $DIR/const-size_of-cycle.rs:8:17
8+
--> $DIR/const-size_of-cycle.rs:4:17
99
|
1010
LL | bytes: [u8; std::mem::size_of::<Foo>()]
1111
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
1212
note: ...which requires const-evaluating `Foo::bytes::{{constant}}#0`...
13-
--> $DIR/const-size_of-cycle.rs:8:17
13+
--> $DIR/const-size_of-cycle.rs:4:17
1414
|
1515
LL | bytes: [u8; std::mem::size_of::<Foo>()]
1616
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -28,7 +28,7 @@ LL | pub fn size_of<T>() -> usize;
2828
= note: ...which requires normalizing `[u8; _]`...
2929
= note: ...which again requires const-evaluating + checking `Foo::bytes::{{constant}}#0`, completing the cycle
3030
note: cycle used when processing `Foo`
31-
--> $DIR/const-size_of-cycle.rs:7:1
31+
--> $DIR/const-size_of-cycle.rs:3:1
3232
|
3333
LL | struct Foo {
3434
| ^^^^^^^^^^

src/test/ui/consts/miri_unleashed/drop.rs

-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
// compile-flags: -Zunleash-the-miri-inside-of-you
2-
// FIXME: missing sysroot spans (#53081)
3-
// ignore-i586-unknown-linux-gnu
4-
// ignore-i586-unknown-linux-musl
5-
// ignore-i686-unknown-linux-musl
62
// error-pattern: calling non-const function `<std::vec::Vec<i32> as std::ops::Drop>::drop`
73
#![deny(const_err)]
84

src/test/ui/consts/miri_unleashed/drop.stderr

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
warning: skipping const checks
2-
--> $DIR/drop.rs:21:9
2+
--> $DIR/drop.rs:17:9
33
|
44
LL | let _v: Vec<i32> = Vec::new();
55
| ^^
@@ -17,10 +17,10 @@ LL | | }
1717
| |_calling non-const function `<std::vec::Vec<i32> as std::ops::Drop>::drop`
1818
| inside `std::intrinsics::drop_in_place::<std::vec::Vec<i32>> - shim(Some(std::vec::Vec<i32>))` at $SRC_DIR/libcore/ptr/mod.rs:LL:COL
1919
|
20-
::: $DIR/drop.rs:23:1
20+
::: $DIR/drop.rs:19:1
2121
|
2222
LL | };
23-
| - inside `TEST_BAD` at $DIR/drop.rs:23:1
23+
| - inside `TEST_BAD` at $DIR/drop.rs:19:1
2424

2525
error: aborting due to previous error
2626

src/test/ui/consts/offset_from_ub.rs

-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
// FIXME: missing sysroot spans (#53081)
2-
// ignore-i586-unknown-linux-gnu
3-
// ignore-i586-unknown-linux-musl
4-
// ignore-i686-unknown-linux-musl
5-
61
#![feature(const_raw_ptr_deref)]
72
#![feature(const_ptr_offset_from)]
83
#![feature(ptr_offset_from)]

src/test/ui/consts/offset_from_ub.stderr

+10-10
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ LL | intrinsics::ptr_offset_from(self, origin)
66
| |
77
| ptr_offset_from cannot compute offset of pointers into different allocations.
88
| inside `std::ptr::const_ptr::<impl *const Struct>::offset_from` at $SRC_DIR/libcore/ptr/const_ptr.rs:LL:COL
9-
| inside `DIFFERENT_ALLOC` at $DIR/offset_from_ub.rs:22:27
9+
| inside `DIFFERENT_ALLOC` at $DIR/offset_from_ub.rs:17:27
1010
|
11-
::: $DIR/offset_from_ub.rs:16:1
11+
::: $DIR/offset_from_ub.rs:11:1
1212
|
1313
LL | / pub const DIFFERENT_ALLOC: usize = {
1414
LL | |
@@ -29,9 +29,9 @@ LL | intrinsics::ptr_offset_from(self, origin)
2929
| |
3030
| unable to turn bytes into a pointer
3131
| inside `std::ptr::const_ptr::<impl *const u8>::offset_from` at $SRC_DIR/libcore/ptr/const_ptr.rs:LL:COL
32-
| inside `NOT_PTR` at $DIR/offset_from_ub.rs:28:14
32+
| inside `NOT_PTR` at $DIR/offset_from_ub.rs:23:14
3333
|
34-
::: $DIR/offset_from_ub.rs:26:1
34+
::: $DIR/offset_from_ub.rs:21:1
3535
|
3636
LL | / pub const NOT_PTR: usize = {
3737
LL | |
@@ -47,9 +47,9 @@ LL | intrinsics::ptr_offset_from(self, origin)
4747
| |
4848
| exact_div: 1isize cannot be divided by 2isize without remainder
4949
| inside `std::ptr::const_ptr::<impl *const u16>::offset_from` at $SRC_DIR/libcore/ptr/const_ptr.rs:LL:COL
50-
| inside `NOT_MULTIPLE_OF_SIZE` at $DIR/offset_from_ub.rs:36:14
50+
| inside `NOT_MULTIPLE_OF_SIZE` at $DIR/offset_from_ub.rs:31:14
5151
|
52-
::: $DIR/offset_from_ub.rs:31:1
52+
::: $DIR/offset_from_ub.rs:26:1
5353
|
5454
LL | / pub const NOT_MULTIPLE_OF_SIZE: isize = {
5555
LL | |
@@ -68,9 +68,9 @@ LL | intrinsics::ptr_offset_from(self, origin)
6868
| |
6969
| invalid use of NULL pointer
7070
| inside `std::ptr::const_ptr::<impl *const u8>::offset_from` at $SRC_DIR/libcore/ptr/const_ptr.rs:LL:COL
71-
| inside `OFFSET_FROM_NULL` at $DIR/offset_from_ub.rs:42:14
71+
| inside `OFFSET_FROM_NULL` at $DIR/offset_from_ub.rs:37:14
7272
|
73-
::: $DIR/offset_from_ub.rs:39:1
73+
::: $DIR/offset_from_ub.rs:34:1
7474
|
7575
LL | / pub const OFFSET_FROM_NULL: isize = {
7676
LL | |
@@ -87,9 +87,9 @@ LL | intrinsics::ptr_offset_from(self, origin)
8787
| |
8888
| unable to turn bytes into a pointer
8989
| inside `std::ptr::const_ptr::<impl *const u8>::offset_from` at $SRC_DIR/libcore/ptr/const_ptr.rs:LL:COL
90-
| inside `DIFFERENT_INT` at $DIR/offset_from_ub.rs:49:14
90+
| inside `DIFFERENT_INT` at $DIR/offset_from_ub.rs:44:14
9191
|
92-
::: $DIR/offset_from_ub.rs:45:1
92+
::: $DIR/offset_from_ub.rs:40:1
9393
|
9494
LL | / pub const DIFFERENT_INT: isize = { // offset_from with two different integers: like DIFFERENT_ALLOC
9595
LL | |

src/test/ui/copy-a-resource.rs

-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
// FIXME: missing sysroot spans (#53081)
2-
// ignore-i586-unknown-linux-gnu
3-
// ignore-i586-unknown-linux-musl
4-
// ignore-i686-unknown-linux-musl
5-
61
#[derive(Debug)]
72
struct Foo {
83
i: isize,

src/test/ui/copy-a-resource.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0599]: no method named `clone` found for struct `Foo` in the current scope
2-
--> $DIR/copy-a-resource.rs:23:16
2+
--> $DIR/copy-a-resource.rs:18:16
33
|
44
LL | struct Foo {
55
| ---------- method `clone` not found for this

src/test/ui/derives/derive-assoc-type-not-impl.rs

-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
// FIXME: missing sysroot spans (#53081)
2-
// ignore-i586-unknown-linux-gnu
3-
// ignore-i586-unknown-linux-musl
4-
// ignore-i686-unknown-linux-musl
5-
61
trait Foo {
72
type X;
83
fn method(&self) {}

src/test/ui/derives/derive-assoc-type-not-impl.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0599]: no method named `clone` found for struct `Bar<NotClone>` in the current scope
2-
--> $DIR/derive-assoc-type-not-impl.rs:23:30
2+
--> $DIR/derive-assoc-type-not-impl.rs:18:30
33
|
44
LL | struct Bar<T: Foo> {
55
| ------------------

src/test/ui/derives/derives-span-Clone-enum-struct-variant.rs

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// FIXME: missing sysroot spans (#53081)
2-
// ignore-i586-unknown-linux-gnu
3-
// ignore-i586-unknown-linux-musl
4-
// ignore-i686-unknown-linux-musl
51
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
62

73

src/test/ui/derives/derives-span-Clone-enum-struct-variant.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0277]: the trait bound `Error: std::clone::Clone` is not satisfied
2-
--> $DIR/derives-span-Clone-enum-struct-variant.rs:13:6
2+
--> $DIR/derives-span-Clone-enum-struct-variant.rs:9:6
33
|
44
LL | x: Error
55
| ^^^^^^^^ the trait `std::clone::Clone` is not implemented for `Error`

src/test/ui/derives/derives-span-Clone-enum.rs

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// FIXME: missing sysroot spans (#53081)
2-
// ignore-i586-unknown-linux-gnu
3-
// ignore-i586-unknown-linux-musl
4-
// ignore-i686-unknown-linux-musl
51
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
62

73

src/test/ui/derives/derives-span-Clone-enum.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0277]: the trait bound `Error: std::clone::Clone` is not satisfied
2-
--> $DIR/derives-span-Clone-enum.rs:13:6
2+
--> $DIR/derives-span-Clone-enum.rs:9:6
33
|
44
LL | Error
55
| ^^^^^ the trait `std::clone::Clone` is not implemented for `Error`

src/test/ui/derives/derives-span-Clone-struct.rs

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// FIXME: missing sysroot spans (#53081)
2-
// ignore-i586-unknown-linux-gnu
3-
// ignore-i586-unknown-linux-musl
4-
// ignore-i686-unknown-linux-musl
51
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
62

73

src/test/ui/derives/derives-span-Clone-struct.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0277]: the trait bound `Error: std::clone::Clone` is not satisfied
2-
--> $DIR/derives-span-Clone-struct.rs:12:5
2+
--> $DIR/derives-span-Clone-struct.rs:8:5
33
|
44
LL | x: Error
55
| ^^^^^^^^ the trait `std::clone::Clone` is not implemented for `Error`

src/test/ui/derives/derives-span-Clone-tuple-struct.rs

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// FIXME: missing sysroot spans (#53081)
2-
// ignore-i586-unknown-linux-gnu
3-
// ignore-i586-unknown-linux-musl
4-
// ignore-i686-unknown-linux-musl
51
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
62

73

src/test/ui/derives/derives-span-Clone-tuple-struct.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0277]: the trait bound `Error: std::clone::Clone` is not satisfied
2-
--> $DIR/derives-span-Clone-tuple-struct.rs:12:5
2+
--> $DIR/derives-span-Clone-tuple-struct.rs:8:5
33
|
44
LL | Error
55
| ^^^^^ the trait `std::clone::Clone` is not implemented for `Error`

src/test/ui/derives/derives-span-Debug-enum-struct-variant.rs

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// FIXME: missing sysroot spans (#53081)
2-
// ignore-i586-unknown-linux-gnu
3-
// ignore-i586-unknown-linux-musl
4-
// ignore-i686-unknown-linux-musl
51
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
62

73

src/test/ui/derives/derives-span-Debug-enum-struct-variant.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0277]: `Error` doesn't implement `std::fmt::Debug`
2-
--> $DIR/derives-span-Debug-enum-struct-variant.rs:13:6
2+
--> $DIR/derives-span-Debug-enum-struct-variant.rs:9:6
33
|
44
LL | x: Error
55
| ^^^^^^^^ `Error` cannot be formatted using `{:?}`

src/test/ui/derives/derives-span-Debug-enum.rs

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// FIXME: missing sysroot spans (#53081)
2-
// ignore-i586-unknown-linux-gnu
3-
// ignore-i586-unknown-linux-musl
4-
// ignore-i686-unknown-linux-musl
51
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
62

73

src/test/ui/derives/derives-span-Debug-enum.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0277]: `Error` doesn't implement `std::fmt::Debug`
2-
--> $DIR/derives-span-Debug-enum.rs:13:6
2+
--> $DIR/derives-span-Debug-enum.rs:9:6
33
|
44
LL | Error
55
| ^^^^^ `Error` cannot be formatted using `{:?}`

src/test/ui/derives/derives-span-Debug-struct.rs

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// FIXME: missing sysroot spans (#53081)
2-
// ignore-i586-unknown-linux-gnu
3-
// ignore-i586-unknown-linux-musl
4-
// ignore-i686-unknown-linux-musl
51
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
62

73

src/test/ui/derives/derives-span-Debug-struct.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0277]: `Error` doesn't implement `std::fmt::Debug`
2-
--> $DIR/derives-span-Debug-struct.rs:12:5
2+
--> $DIR/derives-span-Debug-struct.rs:8:5
33
|
44
LL | x: Error
55
| ^^^^^^^^ `Error` cannot be formatted using `{:?}`

src/test/ui/derives/derives-span-Debug-tuple-struct.rs

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// FIXME: missing sysroot spans (#53081)
2-
// ignore-i586-unknown-linux-gnu
3-
// ignore-i586-unknown-linux-musl
4-
// ignore-i686-unknown-linux-musl
51
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
62

73

src/test/ui/derives/derives-span-Debug-tuple-struct.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0277]: `Error` doesn't implement `std::fmt::Debug`
2-
--> $DIR/derives-span-Debug-tuple-struct.rs:12:5
2+
--> $DIR/derives-span-Debug-tuple-struct.rs:8:5
33
|
44
LL | Error
55
| ^^^^^ `Error` cannot be formatted using `{:?}`

src/test/ui/derives/derives-span-Default-struct.rs

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// FIXME: missing sysroot spans (#53081)
2-
// ignore-i586-unknown-linux-gnu
3-
// ignore-i586-unknown-linux-musl
4-
// ignore-i686-unknown-linux-musl
51
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
62

73

src/test/ui/derives/derives-span-Default-struct.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0277]: the trait bound `Error: std::default::Default` is not satisfied
2-
--> $DIR/derives-span-Default-struct.rs:12:5
2+
--> $DIR/derives-span-Default-struct.rs:8:5
33
|
44
LL | x: Error
55
| ^^^^^^^^ the trait `std::default::Default` is not implemented for `Error`

0 commit comments

Comments
 (0)