summaryrefslogtreecommitdiff
path: root/tests/ui/associated-type-bounds/return-type-notation/missing.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/associated-type-bounds/return-type-notation/missing.stderr')
-rw-r--r--tests/ui/associated-type-bounds/return-type-notation/missing.stderr14
1 files changed, 3 insertions, 11 deletions
diff --git a/tests/ui/associated-type-bounds/return-type-notation/missing.stderr b/tests/ui/associated-type-bounds/return-type-notation/missing.stderr
index 34f5bda884d..5b1c4cb0b2c 100644
--- a/tests/ui/associated-type-bounds/return-type-notation/missing.stderr
+++ b/tests/ui/associated-type-bounds/return-type-notation/missing.stderr
@@ -7,19 +7,11 @@ LL | #![feature(return_type_notation, async_fn_in_trait)]
= note: see issue #109417 <https://github.com/rust-lang/rust/issues/109417> for more information
= note: `#[warn(incomplete_features)]` on by default
-warning: the feature `async_fn_in_trait` is incomplete and may not be safe to use and/or cause compiler crashes
- --> $DIR/missing.rs:3:34
- |
-LL | #![feature(return_type_notation, async_fn_in_trait)]
- | ^^^^^^^^^^^^^^^^^
- |
- = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
-
-error: cannot find associated function `methid` in trait `Trait`
- --> $DIR/missing.rs:11:17
+error: cannot find associated function `methid` for `Trait`
+ --> $DIR/missing.rs:10:17
|
LL | fn bar<T: Trait<methid(): Send>>() {}
| ^^^^^^^^^^^^^^
-error: aborting due to previous error; 2 warnings emitted
+error: aborting due to previous error; 1 warning emitted