Skip to content

Commit 8832f0a

Browse files
committed
Rename test and update docstring; it's not a closure
Suggested by @lcnr in code review.
1 parent 152e277 commit 8832f0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ui/borrowck/static-trait-bound-lost-closure.rs renamed to tests/ui/borrowck/static-trait-bound-lost.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// This test is a reduced version of a bug introduced during work on type-tests for Polonius.
2-
// The underlying problem is that the 'static bound is lost for a closure that is threaded
3-
// deeply enough, causing an error.
2+
// The underlying problem is that the 'static bound is lost for a type parameter that is
3+
// threaded deeply enough, causing an error.
44
// The bug was first observed in exr-1.4.1/src/image/read/mod.rs:124:5 during perf test.
55

66
//@ check-pass

0 commit comments

Comments
 (0)