rust/compiler/rustc_lint/src
Ralf Jung aa25f9ebd8
Rollup merge of #75099 - davidtwco:is-zst-abstraction-violation, r=eddyb
lint/ty: move fns to avoid abstraction violation

This PR moves `transparent_newtype_field` and `is_zst` to `LateContext` where they are used, rather than being on the `VariantDef` and `TyS` types, hopefully addressing @eddyb's concern [from this comment](https://github.com/rust-lang/rust/pull/74340#discussion_r456534910).
2020-09-19 11:47:34 +02:00
..
nonstandard_style mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
array_into_iter.rs Auto-generate lint documentation. 2020-09-13 08:48:03 -07:00
builtin.rs Rollup merge of #75099 - davidtwco:is-zst-abstraction-violation, r=eddyb 2020-09-19 11:47:34 +02:00
context.rs Change ty.kind to a method 2020-09-04 17:47:51 +02:00
early.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
internal.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
late.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
levels.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
lib.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
non_ascii_idents.rs Auto merge of #76541 - matthiaskrgr:unstable_sort, r=davidtwco 2020-09-14 21:43:17 +00:00
nonstandard_style.rs Auto-generate lint documentation. 2020-09-13 08:48:03 -07:00
passes.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
redundant_semicolon.rs Auto-generate lint documentation. 2020-09-13 08:48:03 -07:00
types.rs Rollup merge of #75099 - davidtwco:is-zst-abstraction-violation, r=eddyb 2020-09-19 11:47:34 +02:00
unused.rs Auto-generate lint documentation. 2020-09-13 08:48:03 -07:00