about summary refs log tree commit diff
path: root/src/test/ui
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2022-03-16 23:05:52 -0700
committerMichael Goulet <michael@errs.io>2022-03-26 21:11:06 -0700
commit8588f798029758c4d412757ff5d31c79ce5c02bf (patch)
tree55c2deb7676cda094d34af954fece2e9c0170cd6 /src/test/ui
parent551b4fa395fa588d91cbecfb0cdfe1baa02670cf (diff)
Do not use ParamEnv::and to cache param-env with candidate
Diffstat (limited to 'src/test/ui')
-rw-r--r--src/test/ui/higher-rank-trait-bounds/normalize-under-binder/issue-80706.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/ui/higher-rank-trait-bounds/normalize-under-binder/issue-80706.rs b/src/test/ui/higher-rank-trait-bounds/normalize-under-binder/issue-80706.rs
index 112227c85c4..00a866f220b 100644
--- a/src/test/ui/higher-rank-trait-bounds/normalize-under-binder/issue-80706.rs
+++ b/src/test/ui/higher-rank-trait-bounds/normalize-under-binder/issue-80706.rs
@@ -1,4 +1,4 @@
-// check-pass
+// build-pass
 // edition:2018
 
 type BoxFuture<T> = std::pin::Pin<Box<dyn std::future::Future<Output=T>>>;
@@ -65,6 +65,7 @@ async fn run<S>(dep: &str)
 where
     S: Storage,
     for<'a> SaveUser<'a>: StorageRequest<S>,
+    for<'a> SaveUser<'a>: StorageRequestReturnType,
 {
     User { dep }.save().await;
 }