Skip to content

Commit

Permalink
Update ui test suite to nightly-2023-10-15
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Oct 15, 2023
1 parent 9398a28 commit ef144ae
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions tests/ui/no-attribute-macro.stderr
Original file line number Diff line number Diff line change
@@ -1,29 +1,3 @@
error[E0706]: functions in traits cannot be declared `async`
--> tests/ui/no-attribute-macro.rs:2:5
|
2 | async fn method(&self);
| -----^^^^^^^^^^^^^^^^^^
| |
| `async` because of this
|
= note: `async` trait functions are not currently supported
= note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
= note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
= help: add `#![feature(async_fn_in_trait)]` to the crate attributes to enable

error[E0706]: functions in traits cannot be declared `async`
--> tests/ui/no-attribute-macro.rs:8:5
|
8 | async fn method(&self) {}
| -----^^^^^^^^^^^^^^^^^
| |
| `async` because of this
|
= note: `async` trait functions are not currently supported
= note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
= note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
= help: add `#![feature(async_fn_in_trait)]` to the crate attributes to enable

error[E0038]: the trait `Trait` cannot be made into an object
--> tests/ui/no-attribute-macro.rs:12:12
|
Expand Down

0 comments on commit ef144ae

Please sign in to comment.