about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev+love@gmail.com>2023-01-13 05:47:24 +0900
committerGitHub <noreply@github.com>2023-01-13 05:47:24 +0900
commitbbb2a22ced7322951217cf520f65bf3ba67eafb7 (patch)
treeb919abc8f28c9a1ff7aa1b73062432d6035e7878 /tests
parentea45b3ef1da79a821aec3c081df6e24e34cdcedc (diff)
parent0a2b55d4c8d133d56fb31a3b67cda6f974834890 (diff)
downloadrust-bbb2a22ced7322951217cf520f65bf3ba67eafb7.tar.gz
rust-bbb2a22ced7322951217cf520f65bf3ba67eafb7.zip
Rollup merge of #106759 - compiler-errors:revert-105255, r=cjgillot
Revert "Make nested RPITIT inherit the parent opaque's generics."

This reverts commit e2d41f4c974f0cc09e5aafb02883f222487610f9, and adjusts the `tests/ui/async-await/in-trait/nested-rpit.rs` test.

r? `@cjgillot`

fixes #106332, manually verified because it had no minimization :/

reopens #105197
cc #106729
Diffstat (limited to 'tests')
-rw-r--r--tests/ui/async-await/in-trait/nested-rpit.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/ui/async-await/in-trait/nested-rpit.rs b/tests/ui/async-await/in-trait/nested-rpit.rs
index ae8e0aed0cc..41d72ebb4d4 100644
--- a/tests/ui/async-await/in-trait/nested-rpit.rs
+++ b/tests/ui/async-await/in-trait/nested-rpit.rs
@@ -1,5 +1,7 @@
-// check-pass
 // edition: 2021
+// known-bug: #105197
+// failure-status:101
+// dont-check-compiler-stderr
 
 #![feature(async_fn_in_trait)]
 #![feature(return_position_impl_trait_in_trait)]