about summary refs log tree commit diff
path: root/tests/ui/impl-trait/in-trait/refine-resolution-errors.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2025-01-03 05:01:14 +0000
committerMichael Goulet <michael@errs.io>2025-01-03 05:01:14 +0000
commit2d602ea7931ca6988a34567d9255a10c09d0e17e (patch)
tree162e73434158f2a8dfdded085ce36f262f419b0e /tests/ui/impl-trait/in-trait/refine-resolution-errors.rs
parentab3924b298eb78bf4c96cf7e6b5824f8debbf2b9 (diff)
downloadrust-2d602ea7931ca6988a34567d9255a10c09d0e17e.tar.gz
rust-2d602ea7931ca6988a34567d9255a10c09d0e17e.zip
Do not project when there are unconstrained impl params
Diffstat (limited to 'tests/ui/impl-trait/in-trait/refine-resolution-errors.rs')
-rw-r--r--tests/ui/impl-trait/in-trait/refine-resolution-errors.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/ui/impl-trait/in-trait/refine-resolution-errors.rs b/tests/ui/impl-trait/in-trait/refine-resolution-errors.rs
index a9936c7bc3f..894f592d9e2 100644
--- a/tests/ui/impl-trait/in-trait/refine-resolution-errors.rs
+++ b/tests/ui/impl-trait/in-trait/refine-resolution-errors.rs
@@ -13,7 +13,6 @@ impl<T: ?Sized> Mirror for () {
 
 pub trait First {
     async fn first() -> <() as Mirror>::Assoc;
-    //~^ ERROR type annotations needed
 }
 
 impl First for () {