Skip to content

Commit fce93cb

Browse files
committed
Fixup add const to param env
1 parent ffd46d0 commit fce93cb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/ui/infinite/infinite-struct.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ LL | struct Take(Take);
1919
| ^^^^^^^^^^^^^^^^^^
2020
|
2121
= note: ...which immediately requires computing drop-check constraints for `Take` again
22-
= note: cycle used when computing dropck types for `Canonical { max_universe: U0, variables: [], value: ParamEnvAnd { param_env: ParamEnv { caller_bounds: [], reveal: UserFacing }, value: Take } }`
22+
= note: cycle used when computing dropck types for `Canonical { max_universe: U0, variables: [], value: ParamEnvAnd { param_env: ParamEnv { caller_bounds: [], reveal: UserFacing, constness: NotConst }, value: Take } }`
2323

2424
error: aborting due to 2 previous errors
2525

src/test/ui/infinite/infinite-tag-type-recursion.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ LL | enum MList { Cons(isize, MList), Nil }
1818
| ^^^^^^^^^^
1919
|
2020
= note: ...which immediately requires computing drop-check constraints for `MList` again
21-
= note: cycle used when computing dropck types for `Canonical { max_universe: U0, variables: [], value: ParamEnvAnd { param_env: ParamEnv { caller_bounds: [], reveal: UserFacing }, value: MList } }`
21+
= note: cycle used when computing dropck types for `Canonical { max_universe: U0, variables: [], value: ParamEnvAnd { param_env: ParamEnv { caller_bounds: [], reveal: UserFacing, constness: NotConst }, value: MList } }`
2222

2323
error: aborting due to 2 previous errors
2424

0 commit comments

Comments
 (0)