Skip to content

Commit 034c6ec

Browse files
committed
Update ui test suite to nightly-2022-08-24
1 parent c81dc67 commit 034c6ec

File tree

2 files changed

+37
-37
lines changed

2 files changed

+37
-37
lines changed
Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
error[E0599]: the method `as_dyn_error` exists for reference `&NotError`, but its trait bounds were not satisfied
2-
--> tests/ui/source-enum-not-error.rs:10:9
3-
|
4-
4 | pub struct NotError;
5-
| -------------------
6-
| |
7-
| doesn't satisfy `NotError: AsDynError`
8-
| doesn't satisfy `NotError: std::error::Error`
2+
--> tests/ui/source-enum-not-error.rs:10:9
3+
|
4+
4 | pub struct NotError;
5+
| -------------------
6+
| |
7+
| doesn't satisfy `NotError: AsDynError`
8+
| doesn't satisfy `NotError: std::error::Error`
99
...
10-
10 | source: NotError,
11-
| ^^^^^^ method cannot be called on `&NotError` due to unsatisfied trait bounds
12-
|
13-
= note: the following trait bounds were not satisfied:
14-
`NotError: std::error::Error`
15-
which is required by `NotError: AsDynError`
16-
`&NotError: std::error::Error`
17-
which is required by `&NotError: AsDynError`
10+
10 | source: NotError,
11+
| ^^^^^^ method cannot be called on `&NotError` due to unsatisfied trait bounds
12+
|
13+
= note: the following trait bounds were not satisfied:
14+
`NotError: std::error::Error`
15+
which is required by `NotError: AsDynError`
16+
`&NotError: std::error::Error`
17+
which is required by `&NotError: AsDynError`
1818
note: the following trait must be implemented
19-
--> $RUST/std/src/error.rs
20-
|
21-
| pub trait Error: Debug + Display {
22-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19+
--> $RUST/core/src/error.rs
20+
|
21+
| pub trait Error: Debug + Display {
22+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
error[E0599]: the method `as_dyn_error` exists for struct `NotError`, but its trait bounds were not satisfied
2-
--> tests/ui/source-struct-not-error.rs:9:5
3-
|
4-
4 | struct NotError;
5-
| ---------------
6-
| |
7-
| method `as_dyn_error` not found for this struct
8-
| doesn't satisfy `NotError: AsDynError`
9-
| doesn't satisfy `NotError: std::error::Error`
2+
--> tests/ui/source-struct-not-error.rs:9:5
3+
|
4+
4 | struct NotError;
5+
| ---------------
6+
| |
7+
| method `as_dyn_error` not found for this struct
8+
| doesn't satisfy `NotError: AsDynError`
9+
| doesn't satisfy `NotError: std::error::Error`
1010
...
11-
9 | source: NotError,
12-
| ^^^^^^ method cannot be called on `NotError` due to unsatisfied trait bounds
13-
|
14-
= note: the following trait bounds were not satisfied:
15-
`NotError: std::error::Error`
16-
which is required by `NotError: AsDynError`
11+
9 | source: NotError,
12+
| ^^^^^^ method cannot be called on `NotError` due to unsatisfied trait bounds
13+
|
14+
= note: the following trait bounds were not satisfied:
15+
`NotError: std::error::Error`
16+
which is required by `NotError: AsDynError`
1717
note: the following trait must be implemented
18-
--> $RUST/std/src/error.rs
19-
|
20-
| pub trait Error: Debug + Display {
21-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18+
--> $RUST/core/src/error.rs
19+
|
20+
| pub trait Error: Debug + Display {
21+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)