rust/compiler/rustc_lint/src
bors 5e449b9adf Auto merge of #74949 - oli-obk:validate_const_eval_raw, r=RalfJung
Validate constants during `const_eval_raw`

This PR implements the groundwork for https://github.com/rust-lang/rust/issues/72396

* constants are now validated during `const_eval_raw`
* to prevent cycle errors, we do not validate references to statics anymore beyond the fact that they are not dangling
* the `const_eval` query ICEs if used on `static` items
* as a side effect promoteds are now evaluated to `ConstValue::Scalar` again (since they are just a reference to the actual promoted allocation in most cases).
2020-09-20 08:58:32 +00: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 Auto merge of #74949 - oli-obk:validate_const_eval_raw, r=RalfJung 2020-09-20 08:58:32 +00: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