diff options
| author | Michael Goulet <michael@errs.io> | 2025-03-18 16:17:18 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-03-18 17:35:26 +0000 |
| commit | 93b31d9b21f5a7066cba65ecbf85f2ef16dec891 (patch) | |
| tree | 94c6676930328bffb770b7534629f61ac121cd9a /tests/ui/async-await/dyn/wrong-size.rs | |
| parent | 75530e9f72a1990ed2305e16fd51d02f47048f12 (diff) | |
| download | rust-93b31d9b21f5a7066cba65ecbf85f2ef16dec891.tar.gz rust-93b31d9b21f5a7066cba65ecbf85f2ef16dec891.zip | |
Remove existing AFIDT implementation
Diffstat (limited to 'tests/ui/async-await/dyn/wrong-size.rs')
| -rw-r--r-- | tests/ui/async-await/dyn/wrong-size.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/async-await/dyn/wrong-size.rs b/tests/ui/async-await/dyn/wrong-size.rs index ac15dd26067..f5fce3648ac 100644 --- a/tests/ui/async-await/dyn/wrong-size.rs +++ b/tests/ui/async-await/dyn/wrong-size.rs @@ -1,7 +1,7 @@ //@ edition: 2021 +//@ known-bug: #133119 #![feature(async_fn_in_dyn_trait)] -//~^ WARN the feature `async_fn_in_dyn_trait` is incomplete use std::future::Future; @@ -19,5 +19,5 @@ impl AsyncTrait for &'static str { fn main() { let x: &dyn AsyncTrait = &"hello, world!"; - //~^ ERROR `impl Future<Output = ()>` needs to have the same ABI as a pointer + // FIXME ~^ ERROR `impl Future<Output = ()>` needs to have the same ABI as a pointer } |
