1
Fork 0
rust/compiler/rustc_middle/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
..
dep_graph mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
hir mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
ich mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
infer improve const infer err 2020-09-14 10:08:32 +02:00
middle pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
mir support const_evaluatable_checked across crate boundaries 2020-09-18 17:11:34 +02:00
query use abstract consts when unifying ConstKind::Unevaluated 2020-09-18 17:11:34 +02:00
traits Auto merge of #75608 - estebank:suggest-boxed-match-exprs, r=lcnr,varkor 2020-09-14 19:57:57 +00:00
ty Rollup merge of #75099 - davidtwco:is-zst-abstraction-violation, r=eddyb 2020-09-19 11:47:34 +02:00
util mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
arena.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
lib.rs datastructures: replace once_cell crate with an impl from std 2020-08-30 20:06:14 +01:00
lint.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
macros.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
tests.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00