File tree 2 files changed +3
-6
lines changed
tests/ui/lowering/cont-in-block
2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 1
1
// Fixes: #113379
2
2
3
- #![ allow( incomplete_features) ]
4
- #![ feature( adt_const_params) ]
5
-
6
3
trait Trait < const S : usize > { }
7
4
8
5
struct Bug < T >
Original file line number Diff line number Diff line change 1
1
error[E0696]: `continue` pointing to a labeled block
2
- --> $DIR/cont-in-fn-issue-113379.rs:14 :17
2
+ --> $DIR/cont-in-fn-issue-113379.rs:11 :17
3
3
|
4
4
LL | / 'b: {
5
5
LL | |
9
9
| |_____________- labeled block the `continue` points to
10
10
11
11
error[E0696]: `continue` pointing to a labeled block
12
- --> $DIR/cont-in-fn-issue-113379.rs:24 :9
12
+ --> $DIR/cont-in-fn-issue-113379.rs:21 :9
13
13
|
14
14
LL | / 'b: {
15
15
LL | | continue 'b;
@@ -19,7 +19,7 @@ LL | | }
19
19
| |_____- labeled block the `continue` points to
20
20
21
21
error[E0308]: mismatched types
22
- --> $DIR/cont-in-fn-issue-113379.rs:12 :13
22
+ --> $DIR/cont-in-fn-issue-113379.rs:9 :13
23
23
|
24
24
LL | / 'b: {
25
25
LL | |
You can’t perform that action at this time.
0 commit comments