diff options
| author | Taiki Endo <te316e89@gmail.com> | 2021-02-27 21:25:06 +0900 |
|---|---|---|
| committer | Taiki Endo <te316e89@gmail.com> | 2021-02-27 21:25:06 +0900 |
| commit | 62b4b8da83ad702a8227ff667a312361b14e52c3 (patch) | |
| tree | 2ae4b8126ddd9708962cdfbec56a4dcce6018898 /compiler | |
| parent | 8e863eb59a10fb0900d7377524a0dc7bf44b9ae3 (diff) | |
| download | rust-62b4b8da83ad702a8227ff667a312361b14e52c3.tar.gz rust-62b4b8da83ad702a8227ff667a312361b14e52c3.zip | |
Enable report_in_external_macro in unaligned_references
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_lint_defs/src/builtin.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_lint_defs/src/builtin.rs b/compiler/rustc_lint_defs/src/builtin.rs index 686d09dd7fc..46138df07bf 100644 --- a/compiler/rustc_lint_defs/src/builtin.rs +++ b/compiler/rustc_lint_defs/src/builtin.rs @@ -1080,6 +1080,7 @@ declare_lint! { pub UNALIGNED_REFERENCES, Allow, "detects unaligned references to fields of packed structs", + report_in_external_macro } declare_lint! { |
