Wim Looman
fc8a3ad66c
Update for moved function from #74932
2020-08-30 21:51:30 +02:00
Wim Looman
7636de33cf
Point to no_mangle/export_name attribute when linting
2020-08-30 20:16:23 +02:00
Wim Looman
9ed3661427
Add note about why no_mangle and export_name are unsafe
2020-08-30 20:16:23 +02:00
Wim Looman
79b0ab5195
Scope no_mangle and export_name warnings to the declarations name
2020-08-30 20:16:23 +02:00
Wim Looman
66b2f9acfc
Add checking for export_name to unsafe_code lint
2020-08-30 20:16:22 +02:00
Wim Looman
06a0269c11
Add checking for no_mangle to unsafe_code lint
2020-08-30 20:16:22 +02:00
David Wood
0f2bd56b29
lint/ty: move fns to avoid abstraction violation
...
This commit moves `transparent_newtype_field` and `is_zst` to
`LateContext` where they are used, rather than being on the `VariantDef`
and `TyS` types.
Signed-off-by: David Wood <david@davidtw.co>
2020-08-30 18:57:46 +01:00
mark
9e5f7d5631
mv compiler to compiler/
2020-08-30 18:45:07 +03:00