diff options
| author | Michael Goulet <michael@errs.io> | 2024-02-27 16:11:35 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-02-27 17:43:40 +0000 |
| commit | b57ddfe079cbd9974f0b1f68a50f8f1b901cfdaf (patch) | |
| tree | b926fa5420f6e1fdb67a72b3dcfca2e512d30c7e /tests/ui/impl-trait/in-trait/async-and-ret-ref.rs | |
| parent | 1feef44daf4de5ab35c0bf1eea0f3a54c59cf49c (diff) | |
| download | rust-b57ddfe079cbd9974f0b1f68a50f8f1b901cfdaf.tar.gz rust-b57ddfe079cbd9974f0b1f68a50f8f1b901cfdaf.zip | |
Print RPITIT like an opaque
Diffstat (limited to 'tests/ui/impl-trait/in-trait/async-and-ret-ref.rs')
| -rw-r--r-- | tests/ui/impl-trait/in-trait/async-and-ret-ref.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/impl-trait/in-trait/async-and-ret-ref.rs b/tests/ui/impl-trait/in-trait/async-and-ret-ref.rs index e991b74a0f8..e0a7aef2c5f 100644 --- a/tests/ui/impl-trait/in-trait/async-and-ret-ref.rs +++ b/tests/ui/impl-trait/in-trait/async-and-ret-ref.rs @@ -5,7 +5,7 @@ trait T {} trait MyTrait { async fn foo() -> &'static impl T; - //~^ ERROR the associated type `<Self as MyTrait>::{opaque#0}` may not live long enough + //~^ ERROR the associated type `impl T` may not live long enough } fn main() {} |
