This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 56649bb
committed
Update function pointer call error message
It now uses the type of context. (issue 97082)1 parent c1cfdd1 commit 56649bb
File tree
2 files changed
+5
-2
lines changed- compiler/rustc_const_eval/src/transform/check_consts
- src/test/ui/consts
2 files changed
+5
-2
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
93 | 96 | | |
94 | 97 | | |
95 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments