Commit 4f919e4
authored
Rollup merge of rust-lang#105349 - compiler-errors:point-at-assoc-ct-fn-ptr-arg, r=cjgillot
Point at args in associated const fn pointers
Tiny follow-up to rust-lang#105201, not so sure it's worth it but 🤷
The UI test example is a bit more compelling when it's `GlUniformScalar::FACTORY`
r? `@cjgillot`File tree
2 files changed
+7
-9
lines changed- compiler/rustc_hir_typeck/src/fn_ctxt
- src/test/ui/suggestions
2 files changed
+7
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1918 | 1918 | | |
1919 | 1919 | | |
1920 | 1920 | | |
1921 | | - | |
1922 | | - | |
1923 | | - | |
1924 | | - | |
1925 | | - | |
| 1921 | + | |
| 1922 | + | |
1926 | 1923 | | |
1927 | 1924 | | |
1928 | | - | |
1929 | | - | |
| 1925 | + | |
1930 | 1926 | | |
1931 | 1927 | | |
1932 | 1928 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
0 commit comments