You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b9da4e3
Browse filesBrowse the repository at this point in the historyBrowse files
error: Unexpected error: could not find the late-bound region variable LateParamRegion { scope: test_crate::local_annotation, kind: Named(test_crate::local_annotation::'a, "'a") }
2
+
--> tests/ui/closure-enclosing-regions.rs:10:16
3
+
|
4
+
10 | let y: &'a u32 = x;
5
+
| ^^^^^^^
6
+
7
+
error: Unexpected error: could not find the late-bound region variable LateParamRegion { scope: test_crate::local_annotation, kind: Named(test_crate::local_annotation::'a, "'a") }
8
+
--> tests/ui/closure-enclosing-regions.rs:10:16
9
+
|
10
+
10 | let y: &'a u32 = x;
11
+
| ^^^^^^^
12
+
13
+
error: Unexpected error: could not find the late-bound region variable LateParamRegion { scope: test_crate::nested, kind: Named(test_crate::nested::'a, "'a") }
14
+
--> tests/ui/closure-enclosing-regions.rs:26:20
15
+
|
16
+
26 | let y: &'a u32 = x;
17
+
| ^^^^^^^
18
+
19
+
error: Unexpected error: could not find the late-bound region variable LateParamRegion { scope: test_crate::nested, kind: Named(test_crate::nested::'a, "'a") }
20
+
--> tests/ui/closure-enclosing-regions.rs:26:20
21
+
|
22
+
26 | let y: &'a u32 = x;
23
+
| ^^^^^^^
24
+
25
+
error: Unexpected error: could not find the late-bound region variable LateParamRegion { scope: test_crate::enclosing_closure::{closure#0}, kind: Named(test_crate::enclosing_closure::{closure#0}::'a, "'a") }
26
+
--> tests/ui/closure-enclosing-regions.rs:37:20
27
+
|
28
+
37 | let y: &'a u32 = x;
29
+
| ^^^^^^^
30
+
31
+
error: Unexpected error: could not find the late-bound region variable LateParamRegion { scope: test_crate::enclosing_closure::{closure#0}, kind: Named(test_crate::enclosing_closure::{closure#0}::'a, "'a") }
32
+
--> tests/ui/closure-enclosing-regions.rs:37:20
33
+
|
34
+
37 | let y: &'a u32 = x;
35
+
| ^^^^^^^
36
+
37
+
ERROR Charon failed to translate this code (6 errors)
error: Unexpected error: could not find the late-bound region variable LateParamRegion { scope: test_crate::local_annotation, kind: Named(test_crate::local_annotation::'a, "'a") }
2
+
--> tests/ui/closure-enclosing-regions.rs:10:16
3
+
|
4
+
10 | let y: &'a u32 = x;
5
+
| ^^^^^^^
6
+
7
+
error: Unexpected error: could not find the late-bound region variable LateParamRegion { scope: test_crate::local_annotation, kind: Named(test_crate::local_annotation::'a, "'a") }
8
+
--> tests/ui/closure-enclosing-regions.rs:10:16
9
+
|
10
+
10 | let y: &'a u32 = x;
11
+
| ^^^^^^^
12
+
13
+
error: Unexpected error: could not find the late-bound region variable LateParamRegion { scope: test_crate::no_capture, kind: Named(test_crate::no_capture::'a, "'a") }
14
+
--> tests/ui/closure-enclosing-regions.rs:18:16
15
+
|
16
+
18 | let _: Option<&'a u32> = None;
17
+
| ^^^^^^^^^^^^^^^
18
+
19
+
error: Unexpected error: could not find the late-bound region variable LateParamRegion { scope: test_crate::no_capture, kind: Named(test_crate::no_capture::'a, "'a") }
20
+
--> tests/ui/closure-enclosing-regions.rs:18:16
21
+
|
22
+
18 | let _: Option<&'a u32> = None;
23
+
| ^^^^^^^^^^^^^^^
24
+
25
+
error: Unexpected error: could not find the late-bound region variable LateParamRegion { scope: test_crate::nested, kind: Named(test_crate::nested::'a, "'a") }
26
+
--> tests/ui/closure-enclosing-regions.rs:26:20
27
+
|
28
+
26 | let y: &'a u32 = x;
29
+
| ^^^^^^^
30
+
31
+
error: Unexpected error: could not find the late-bound region variable LateParamRegion { scope: test_crate::nested, kind: Named(test_crate::nested::'a, "'a") }
32
+
--> tests/ui/closure-enclosing-regions.rs:26:20
33
+
|
34
+
26 | let y: &'a u32 = x;
35
+
| ^^^^^^^
36
+
37
+
error: Unexpected error: could not find the late-bound region variable LateParamRegion { scope: test_crate::enclosing_closure::{closure#0}, kind: Named(test_crate::enclosing_closure::{closure#0}::'a, "'a") }
38
+
--> tests/ui/closure-enclosing-regions.rs:37:20
39
+
|
40
+
37 | let y: &'a u32 = x;
41
+
| ^^^^^^^
42
+
43
+
error: Unexpected error: could not find the late-bound region variable LateParamRegion { scope: test_crate::enclosing_closure::{closure#0}, kind: Named(test_crate::enclosing_closure::{closure#0}::'a, "'a") }
44
+
--> tests/ui/closure-enclosing-regions.rs:37:20
45
+
|
46
+
37 | let y: &'a u32 = x;
47
+
| ^^^^^^^
48
+
49
+
ERROR Charon failed to translate this code (8 errors)
0 commit comments