rust/src/test/incremental
bors a722296b6e Auto merge of #50653 - oli-obk:bad_const, r=cramertj
Make the `const_err` lint `deny`-by-default

At best these things are runtime panics (debug mode) or overflows (release mode). More likely they are public constants that are unused in the crate declaring them.

This is not a breaking change, as dependencies won't break and root crates can `#![warn(const_err)]`, though I don't know why anyone would do that.
2018-05-18 17:17:35 +00:00
..
add_private_fn_at_krate_root_cc Rename must-compile-successfully into compile-pass 2018-04-13 23:28:03 +02:00
callee_caller_cross_crate incr.comp.: Use red/green tracking for CGU re-use. 2017-10-02 15:45:46 +02:00
change_add_field Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
change_crate_order rename Tables to TypeckTables 2017-01-25 16:24:00 -05:00
change_private_fn Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
change_private_fn_cc Rename must-compile-successfully into compile-pass 2018-04-13 23:28:03 +02:00
change_private_impl_method Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
change_private_impl_method_cc Rename must-compile-successfully into compile-pass 2018-04-13 23:28:03 +02:00
change_pub_inherent_method_body Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
change_pub_inherent_method_sig Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
extern_static Encode/decode extern statics in metadata and incremental cache 2018-03-20 10:36:45 +01:00
hashes Rename must-compile-successfully into compile-pass 2018-04-13 23:28:03 +02:00
inlined_hir_34991 Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
issue-39828 detect "bootstrap outputs" when serializing the dep-graph 2017-02-22 12:02:41 -05:00
issue-49595 Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
krate_reassign_34991 watch out for krate numbers being reassigned 2016-08-02 05:31:25 -04:00
remapped_paths_cc Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
remove-private-item-cross-crate incr.comp.: Use red/green tracking for CGU re-use. 2017-10-02 15:45:46 +02:00
remove_crate incr.comp.: Don't crash in DepGraph::try_mark_green() when encountering a removed input node. 2017-11-10 17:50:15 +01:00
remove_source_file Rename must-compile-successfully into compile-pass 2018-04-13 23:28:03 +02:00
rlib_cross_crate incr.comp.: Use red/green tracking for CGU re-use. 2017-10-02 15:45:46 +02:00
span_hash_stable incr.comp. Add tests for stable span hashing. 2016-09-01 09:43:44 -04:00
static_cycle Don't recurse into allocations, use a global table instead 2018-04-14 12:21:46 +02:00
static_refering_to_other_static Cleanup metadata and incremental cache processing of constants 2018-03-16 17:22:37 +01:00
static_refering_to_other_static2 Introduce an edge from a const eval to the MIR of all statics it depends on 2018-03-30 12:31:48 +02:00
static_stable_hash Fix stable hashing of AllocIds 2018-03-28 10:12:04 +02:00
struct_change_field_type_cross_crate incr.comp.: Use red/green tracking for CGU re-use. 2017-10-02 15:45:46 +02:00
type_alias_cross_crate incr.comp.: Use red/green tracking for CGU re-use. 2017-10-02 15:45:46 +02:00
cache_file_headers.rs Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
change_crate_dep_kind.rs Rename must-compile-successfully into compile-pass 2018-04-13 23:28:03 +02:00
change_symbol_export_status.rs Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
commandline-args.rs Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
crate_hash_reorder.rs fix stray comment 2016-08-23 13:29:28 -04:00
dirty_clean.rs incr.comp.: Make #[rustc_dirty/clean] test for fingerprint equality instead of DepNode existence. 2017-09-23 19:47:46 +02:00
feature_gate.rs incr.comp.: Add regression test for detecting feature gate changes. 2018-03-05 11:05:01 +01:00
foreign.rs hash foreign items too 2016-08-01 19:57:32 -04:00
hello_world.rs rename Tables to TypeckTables 2017-01-25 16:24:00 -05:00
ich_method_call_trait_scope.rs incr.comp.: Hash spans unconditionally for full accuracy. 2017-12-08 10:02:26 +01:00
ich_nested_items.rs Rename must-compile-successfully into compile-pass 2018-04-13 23:28:03 +02:00
ich_resolve_results.rs incr.comp.: Hash spans unconditionally for full accuracy. 2017-12-08 10:02:26 +01:00
issue-35593.rs incr.comp.: Use red/green tracking for CGU re-use. 2017-10-02 15:45:46 +02:00
issue-38222.rs Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
issue-39569.rs fix case where some edges can't be recreated by expanding the graph 2017-02-06 10:20:23 -05:00
issue-42602.rs Rename must-compile-successfully into compile-pass 2018-04-13 23:28:03 +02:00
issue-49043.rs extend stable hasher to support CanonicalTy 2018-03-16 12:49:37 -04:00
krate-inherent.rs Rename must-compile-successfully into compile-pass 2018-04-13 23:28:03 +02:00
krate-inlined.rs Fix incremental tests after change to instantiation strategy. 2017-11-07 08:54:38 +01:00
macro_export.rs Rename must-compile-successfully into compile-pass 2018-04-13 23:28:03 +02:00
source_loc_macros.rs incr.comp.: Hash spans unconditionally for full accuracy. 2017-12-08 10:02:26 +01:00
spans_in_type_debuginfo.rs incr.comp.: Make DefSpan an input dep-node so it is not affected by the existing Span/HIR hashing hack. 2017-11-08 11:30:14 +01:00
spans_significant_w_debuginfo.rs Give function bodies their own dep graph node 2016-11-29 13:04:27 +01:00
spans_significant_w_panic.rs incr.comp.: Hash spans unconditionally for full accuracy. 2017-12-08 10:02:26 +01:00
spike-neg1.rs Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
spike-neg2.rs Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
spike.rs Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
string_constant.rs Rename must-compile-successfully into compile-pass 2018-04-13 23:28:03 +02:00
struct_add_field.rs rename Tables to TypeckTables 2017-01-25 16:24:00 -05:00
struct_change_field_name.rs rename Tables to TypeckTables 2017-01-25 16:24:00 -05:00
struct_change_field_type.rs rename Tables to TypeckTables 2017-01-25 16:24:00 -05:00
struct_change_nothing.rs rename Tables to TypeckTables 2017-01-25 16:24:00 -05:00
struct_remove_field.rs rename Tables to TypeckTables 2017-01-25 16:24:00 -05:00
unchecked_dirty_clean.rs Let the ICH testing framework check that all #[rustc_dirty] attrs have been actually checked. 2017-02-03 15:08:42 -05:00
warnings-reemitted.rs Make the const_err lint deny-by-default 2018-05-12 16:21:02 +02:00