Skip to content

Commit ef144ae

Browse files
committed
Update ui test suite to nightly-2023-10-15
1 parent 9398a28 commit ef144ae

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

tests/ui/no-attribute-macro.stderr

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,3 @@
1-
error[E0706]: functions in traits cannot be declared `async`
2-
--> tests/ui/no-attribute-macro.rs:2:5
3-
|
4-
2 | async fn method(&self);
5-
| -----^^^^^^^^^^^^^^^^^^
6-
| |
7-
| `async` because of this
8-
|
9-
= note: `async` trait functions are not currently supported
10-
= note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
11-
= note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
12-
= help: add `#![feature(async_fn_in_trait)]` to the crate attributes to enable
13-
14-
error[E0706]: functions in traits cannot be declared `async`
15-
--> tests/ui/no-attribute-macro.rs:8:5
16-
|
17-
8 | async fn method(&self) {}
18-
| -----^^^^^^^^^^^^^^^^^
19-
| |
20-
| `async` because of this
21-
|
22-
= note: `async` trait functions are not currently supported
23-
= note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
24-
= note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
25-
= help: add `#![feature(async_fn_in_trait)]` to the crate attributes to enable
26-
271
error[E0038]: the trait `Trait` cannot be made into an object
282
--> tests/ui/no-attribute-macro.rs:12:12
293
|

0 commit comments

Comments
 (0)