about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-03-13 21:55:39 +0100
committerGitHub <noreply@github.com>2023-03-13 21:55:39 +0100
commit30cd4b3a161d38574a599f2aa58db8334b470f8b (patch)
tree66fc8f4336c963aa7b88e720117e93f4c34df0d8 /compiler/rustc_resolve/src
parentf6f238fbc047e78abd4036f856ff3dc8623fa811 (diff)
parent34be05e0970b1c50e1174c431d6a0303d72df4d2 (diff)
downloadrust-30cd4b3a161d38574a599f2aa58db8334b470f8b.tar.gz
rust-30cd4b3a161d38574a599f2aa58db8334b470f8b.zip
Rollup merge of #109088 - Nilstrieb:target-feature-on-statics-when, r=compiler-errors
Gracefully handle `#[target_feature]` on statics

The was careful around not calling `fn_sig` on not-functions but well, it wasn't careful enough. This commit makes it a little more careful and also adds tests for a bunch more item kinds.

I was sadly not able to fully bless the test locally because I'm on an aarch64 machine but I hope some manual editing made it work 😅

Fix #109079
Diffstat (limited to 'compiler/rustc_resolve/src')
0 files changed, 0 insertions, 0 deletions