about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2024-12-24 14:05:24 +1100
committerGitHub <noreply@github.com>2024-12-24 14:05:24 +1100
commit772b95e7554194dfbb04aaee65fcd983d0b84221 (patch)
tree9fc560505321d7a860cddb7d3b7f64ea5d0408e7 /compiler/rustc_codegen_gcc
parent33311856e13ca440a57f822969d5f6fff254e194 (diff)
parent92f93f6d1127cd8f2438474ebe4620231f5d5473 (diff)
downloadrust-772b95e7554194dfbb04aaee65fcd983d0b84221.tar.gz
rust-772b95e7554194dfbb04aaee65fcd983d0b84221.zip
Rollup merge of #134701 - compiler-errors:non-const-def-descr, r=Urgau,fmease
Correctly note item kind in `NonConstFunctionCall` error message

Don't just call everything a "`fn`". This is more consistent with the error message we give for conditionally-const items, which do note the item's def kind.

r? fmease, this is a prerequisite for making those `~const PartialEq` error messages better. Re-roll if you're busy or don't want to review this.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions