about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-02-28 19:20:06 +0000
committerbors <bors@rust-lang.org>2019-02-28 19:20:06 +0000
commit275a3864b8d1c612662c5a416b2afa77bbf81499 (patch)
tree856b58bef85d2291c0eee28c899c45362935be8d /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.diff
parentf69ec96906d300132ffd33151bf6641b950db96d (diff)
parentc4eb7801565fe0c69f3f199f64db40dfdd084590 (diff)
downloadrust-275a3864b8d1c612662c5a416b2afa77bbf81499.tar.gz
rust-275a3864b8d1c612662c5a416b2afa77bbf81499.zip
Auto merge of #3830 - flip1995:unknown_attribute, r=oli-obk
Error on unknown or deprecated attributes

The reason I decided to not make this a lint is, that unknown attributes are always a hard error in rustc and also in rustfmt, which cannot be turned off by an `allow`. This could have been done by introducing a category which would be forbid-by-default. But that would have introduced a new lint category+group for just one lint and also wouldn't be consistent with rustfmt and rustc.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions