about summary refs log tree commit diff
path: root/src/test/ui/issues
diff options
context:
space:
mode:
authorJack Huey <31162821+jackh726@users.noreply.github.com>2022-09-16 09:01:28 -0400
committerJack Huey <31162821+jackh726@users.noreply.github.com>2022-09-16 09:01:28 -0400
commitbba514b7b4f3062139d17ce1e4ab26b396c8ad49 (patch)
tree9ef5520b53828c4e6e63383023642ffc75ebaeaf /src/test/ui/issues
parentdf34db9b032b15efd86df3544cc75e6d55dc492e (diff)
downloadrust-bba514b7b4f3062139d17ce1e4ab26b396c8ad49.tar.gz
rust-bba514b7b4f3062139d17ce1e4ab26b396c8ad49.zip
Revert "Use Predicate ConstraintCategory when normalizing"
This reverts commit aae37f87632dd74856d55c0cd45d2c192379c990.
Diffstat (limited to 'src/test/ui/issues')
-rw-r--r--src/test/ui/issues/issue-26217.stderr6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/test/ui/issues/issue-26217.stderr b/src/test/ui/issues/issue-26217.stderr
index 73c772205c3..c7601caacdc 100644
--- a/src/test/ui/issues/issue-26217.stderr
+++ b/src/test/ui/issues/issue-26217.stderr
@@ -5,12 +5,6 @@ LL | fn bar<'a>() {
    |        -- lifetime `'a` defined here
 LL |     foo::<&'a i32>();
    |     ^^^^^^^^^^^^^^ requires that `'a` must outlive `'static`
-   |
-note: due to current limitations in the borrow checker, this implies a `'static` lifetime
-  --> $DIR/issue-26217.rs:1:30
-   |
-LL | fn foo<T>() where for<'a> T: 'a {}
-   |                              ^^
 
 error: aborting due to previous error