about summary refs log tree commit diff
path: root/tests/ui/borrowck
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2025-08-07 11:30:24 +0200
committerlcnr <rust@lcnr.de>2025-08-13 14:03:26 +0200
commita95a2ac476ef04ccf8cfabd35e6fcdb9569f053d (patch)
treeeb958dce37792b24ac05e2418894f84de7859d00 /tests/ui/borrowck
parentd62e8578c5dcf08a4b5766ea63ea921f68c9de99 (diff)
downloadrust-a95a2ac476ef04ccf8cfabd35e6fcdb9569f053d.tar.gz
rust-a95a2ac476ef04ccf8cfabd35e6fcdb9569f053d.zip
rework `add_placeholder_from_predicate_note`
Diffstat (limited to 'tests/ui/borrowck')
-rw-r--r--tests/ui/borrowck/implementation-not-general-enough-ice-133252.stderr6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/ui/borrowck/implementation-not-general-enough-ice-133252.stderr b/tests/ui/borrowck/implementation-not-general-enough-ice-133252.stderr
index 4ec4d2138db..5389226f7a7 100644
--- a/tests/ui/borrowck/implementation-not-general-enough-ice-133252.stderr
+++ b/tests/ui/borrowck/implementation-not-general-enough-ice-133252.stderr
@@ -22,12 +22,6 @@ LL |         force_send(async_load(&not_static));
 ...
 LL |     }
    |     - `not_static` dropped here while still borrowed
-   |
-note: due to current limitations in the borrow checker, this implies a `'static` lifetime
-  --> $DIR/implementation-not-general-enough-ice-133252.rs:16:18
-   |
-LL | fn force_send<T: Send>(_: T) {}
-   |                  ^^^^
 
 error: aborting due to 2 previous errors