File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
tests/ui/lowering/cont-in-block Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 11// Fixes: #113379
22
3- #![ allow( incomplete_features) ]
4- #![ feature( adt_const_params) ]
5-
63trait Trait < const S : usize > { }
74
85struct Bug < T >
Original file line number Diff line number Diff line change 11error[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
33 |
44LL | / 'b: {
55LL | |
99 | |_____________- labeled block the `continue` points to
1010
1111error[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
1313 |
1414LL | / 'b: {
1515LL | | continue 'b;
@@ -19,7 +19,7 @@ LL | | }
1919 | |_____- labeled block the `continue` points to
2020
2121error[E0308]: mismatched types
22- --> $DIR/cont-in-fn-issue-113379.rs:12 :13
22+ --> $DIR/cont-in-fn-issue-113379.rs:9 :13
2323 |
2424LL | / 'b: {
2525LL | |
You can’t perform that action at this time.
0 commit comments