rust/src/test/ui/consts
Yuning Zhang 710dcbd381 Improve type mismatch error messages
Replace "integral variable" with "integer" and replace
"floating-point variable" with "floating-point number" to make the
message less confusing.
2018-12-31 20:43:08 -05:00
..
auxiliary Remove licenses 2018-12-25 21:08:33 -07:00
const-eval Remove licenses 2018-12-25 21:08:33 -07:00
min_const_fn Remove licenses 2018-12-25 21:08:33 -07:00
std Tidy ♪ all ♪ the ♪ way ♪♪♪♪ with ♪ a ♪ newline ♪ missing ♪ cry ♪♪ 2018-11-10 01:11:06 +01:00
const-array-oob-arith.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-array-oob-arith.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-array-oob.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-array-oob.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-block-non-item-statement-2.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-block-non-item-statement-2.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-block-non-item-statement-3.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-block-non-item-statement-3.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-block-non-item-statement.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-block-non-item-statement.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-call.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-call.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-cast-different-types.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-cast-different-types.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-cast-wrong-type.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-cast-wrong-type.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-deref-ptr.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-deref-ptr.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-err-early.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-err-early.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-err-multi.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-err-multi.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-err.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-err.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-err2.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-err2.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-err4.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-err4.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-expr-addr-operator.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-fn-destructuring-arg.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-fn-destructuring-arg.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-fn-mismatch.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-fn-mismatch.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-fn-not-in-trait.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-fn-not-in-trait.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-fn-not-safe-for-const.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-fn-not-safe-for-const.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-fn-stability-calls-3.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-int-conversion.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-int-conversion.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-int-conversion.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-int-overflowing.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-int-overflowing.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-int-overflowing.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-int-rotate.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-int-rotate.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-int-rotate.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-int-sign.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-int-sign.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-int-sign.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-int-unchecked.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-int-unchecked.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-int-wrapping.nll.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-int-wrapping.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-int-wrapping.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-integer-bool-ops.rs Improve type mismatch error messages 2018-12-31 20:43:08 -05:00
const-integer-bool-ops.stderr Improve type mismatch error messages 2018-12-31 20:43:08 -05:00
const-len-underflow-separate-spans.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-len-underflow-separate-spans.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-len-underflow-subspans.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-len-underflow-subspans.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-match-check.eval1.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-match-check.eval2.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-match-check.matchck.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-match-check.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-match-pattern-arm.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-match-pattern-arm.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-nonzero.rs Update src/test/ui/consts/const-nonzero.rs 2018-12-28 17:45:49 +05:30
const-pattern-irrefutable.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-pattern-irrefutable.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-pattern-not-const-evaluable.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-prop-ice.rs Fix tidy 2018-11-09 10:11:20 +01:00
const-prop-ice.stderr Prevent ICE in const-prop array oob check 2018-11-08 20:15:13 +01:00
const-prop-ice2.rs Fix tidy 2018-11-09 10:11:20 +01:00
const-prop-ice2.stderr Add more regression tests 2018-11-08 20:18:26 +01:00
const-size_of-cycle.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-size_of-cycle.stderr Set a def_id in ParamEnv only with -Z chalk 2018-12-27 19:21:17 +01:00
const-slice-oob.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-slice-oob.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-tup-index-span.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-tup-index-span.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-type-mismatch.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-type-mismatch.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-typeid-of.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-typeid-of.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-unsized.rs Remove licenses 2018-12-25 21:08:33 -07:00
const-unsized.stderr Remove licenses 2018-12-25 21:08:33 -07:00
const-validation-fail-55455.rs Fix wrong validation clasisfication of Option<&T>::Some values 2018-10-29 15:22:47 +01:00
const_fn_return_nested_fn_ptr.rs Don't auto-inline const fn 2018-11-17 17:50:37 +01:00
const_let_assign.rs Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
const_let_assign2.rs Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
const_let_assign3.rs Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
const_let_assign3.stderr Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
const_let_eq.rs Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
const_let_eq_float.rs Test float assign ops 2018-11-30 09:44:16 +01:00
const_short_circuit.rs Improve the diagnostic message 2018-11-30 09:44:15 +01:00
const_short_circuit.stderr Explain that lack of short circuiting support in constants is temporary 2018-12-18 09:42:46 +01:00
dangling-alloc-id-ice.rs Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
dangling-alloc-id-ice.stderr Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
dangling_raw_ptr.rs Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
dangling_raw_ptr.stderr Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
int_ptr_for_zst_slices.rs Reintroduce zst-slice reading read_bytes method on Memory 2018-11-24 11:36:32 +01:00
issue-54224.rs Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
issue-54224.stderr Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
issue-56164.rs Fix const_fn ICE with non-const function pointer 2018-11-30 08:43:50 +01:00
issue-56164.stderr Fix const_fn ICE with non-const function pointer 2018-11-30 08:43:50 +01:00
partial_qualif.rs Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
partial_qualif.stderr Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
projection_qualif.rs Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
projection_qualif.stderr Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
promote_const_let.nll.stderr Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
promote_const_let.rs Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
promote_const_let.stderr Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
promote_fn_calls.rs Add missing rustc_promotable attribute to unsigned min_value and max_value 2018-11-09 17:55:24 +01:00
promote_fn_calls_std.rs Add missing rustc_promotable attribute to unsigned min_value and max_value 2018-11-09 17:55:24 +01:00
promoted-validation-55454.rs Fix wrong validation clasisfication of Option<&T>::Some values 2018-10-29 15:22:47 +01:00
promoted_regression.rs Remove a wrong multiplier on relocation offset computation 2018-12-17 16:47:26 +01:00
qualif_overwrite.rs Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
qualif_overwrite.stderr Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
qualif_overwrite_2.rs Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
qualif_overwrite_2.stderr Reenable const_let feature gate 2018-11-30 09:44:15 +01:00
single_variant_match_ice.rs Add a test for single variant matches 2018-11-30 09:44:06 +01:00
single_variant_match_ice.stderr Add a test for single variant matches 2018-11-30 09:44:06 +01:00
static_mut_containing_mut_ref.rs Fix a recently introduces regression 2018-12-21 11:27:29 +01:00
static_mut_containing_mut_ref2.rs Update tests to changes on master 2018-12-21 13:39:45 +01:00
static_mut_containing_mut_ref2.stderr Update tests to changes on master 2018-12-21 13:39:45 +01:00
static_mut_containing_mut_ref3.rs Also test projections 2018-12-21 11:27:29 +01:00
static_mut_containing_mut_ref3.stderr Also test projections 2018-12-21 11:27:29 +01:00
validate_never_arrays.rs Clean up array/slice of primitive validation 2018-11-24 11:36:32 +01:00
validate_never_arrays.stderr Update tests 2018-12-11 12:19:23 +00:00