rust/src/test/run-pass
bors cd48ce1e9a Auto merge of #56282 - qnighy:additional-sizedness-fix, r=nikomatsakis
Fix #56237: normalize type before deferred sizedness checking.

This seems to fix #56237, which was introduced by #56045. I don't thoroughly understand how this works, but the problem seemed to be a lack of normalization.

r? @cramertj
2018-12-06 17:31:15 +00:00
..
allocator
array-slice-vec
associated-consts
associated-types Only do check for trait objects, not trait or trait alias definitions. 2018-11-07 21:57:45 +00:00
autoref-autoderef
auxiliary tests: use force-host and no-prefer-dynamic in all proc_macro tests. 2018-11-30 06:15:20 +02:00
bench
binding Fix broken tests 2018-11-29 20:58:38 +00:00
borrowck
cfg
coerce
coherence
consts Fix some tests for wasm32-unknown-emscripten 2018-11-08 18:17:57 +01:00
cross-crate
ctfe
deriving
drop
dynamically-sized-types
extern
for-loop-while
foreign
functions-closures
generator
generics
higher-rank-trait-bounds
hygiene
impl-trait Rollup merge of #56119 - frewsxcv:frewsxcv-option-carrier, r=TimNN 2018-12-05 23:54:25 +01:00
imports
intrinsics
issues Rollup merge of #56072 - da-x:stabilize-literal-matcher, r=petrochenkov 2018-11-25 17:05:00 +01:00
iterators
macros remove uses of feature gate 2018-11-27 13:13:11 -06:00
methods
mir
modules
moves
nll
non_modrs_mods Clean up some non-mod-rs stuff. 2018-11-14 18:55:41 -08:00
numbers-arithmetic
overloaded
packed
panic-runtime
panics
privacy
proc-macro tests: ignore wasm32 for run-pass/proc-macro/expand-with-a-macro. 2018-11-30 06:15:20 +02:00
process
regions
rfcs Removed feature gate. 2018-11-30 15:42:43 +00:00
self Removed feature gate. 2018-11-30 22:12:39 +00:00
sepcomp
simd
specialization
statics
structs-enums
thinlto
threads-sendsync
traits Added error for duplicate bindings of associated type. 2018-11-07 21:57:45 +00:00
unboxed-closures
uniform-paths
union
unique
unsized-locals Add tests for unsized-locals functions stability. 2018-11-21 22:20:22 +09:00
where-clauses
zero-sized
.gitattributes
abi-sysv64-arg-passing.rs
abi-sysv64-register-usage.rs
abort-on-c-abi.rs
alias-uninit-value.rs
align-with-extern-c-fn.rs
alignment-gep-tup-like-1.rs
alloca-from-derived-tydesc.rs
allocator-alloc-one.rs
anon-extern-mod.rs
arbitrary_self_types_pointers_and_wrappers.rs
arbitrary_self_types_stdlib_pointers.rs
argument-passing.rs
artificial-block.rs
as-precedence.rs
asm-concat-src.rs
asm-in-moved.rs
asm-in-out-operand.rs
asm-indirect-memory.rs
asm-out-assign.rs
assert-eq-trailing-comma.rs
assert-escape.rs
assert-ne-trailing-comma.rs
assign-assign.rs
assoc-oddities-3.rs
associated-item-long-paths.rs
async-await.rs
atomic-access-bool.rs
atomic-alignment.rs
atomic-compare_exchange.rs
atomic-print.rs
attr-before-view-item2.rs
attr-before-view-item.rs
attr-main-2.rs
attr-main.rs
attr-mix-new.rs
attr-on-generic-formals.rs
attr-shebang.rs
attr-start.rs
attr.rs
augmented-assignments-feature-gate-cross.rs
augmented-assignments-feature-gate.rs
augmented-assignments.rs
auto-instantiate.rs
auto-is-contextual.rs
autobind.rs
backtrace-debuginfo-aux.rs
backtrace-debuginfo.rs
backtrace.rs
bare-fn-implements-fn-mut.rs
bare-static-string.rs
big-literals.rs
binary-minus-without-space.rs
bind-by-move.rs
binops-issue-22743.rs
binops.rs
bitwise.rs
blind-item-local-shadow.rs
blind-item-mixed-crate-use-item.rs
blind-item-mixed-use-item.rs
block-arg-call-as.rs
block-arg.rs
block-explicit-types.rs
block-expr-precedence.rs
block-fn-coerce.rs
block-iter-1.rs
block-iter-2.rs
bool-not.rs
bool.rs
borrow-by-val-method-receiver.rs
box-new.rs
bug-7183-generics.rs
bug-7295.rs
builtin-clone-unwind.rs
builtin-clone.rs
builtin-superkinds-capabilities-transitive.rs
builtin-superkinds-capabilities-xc.rs
builtin-superkinds-capabilities.rs
builtin-superkinds-in-metadata.rs
builtin-superkinds-phantom-typaram.rs
builtin-superkinds-simple.rs
builtin-superkinds-typaram.rs
byte-literals.rs
c-stack-as-value.rs
c-stack-returning-int64.rs
cabi-int-widening.rs
can-copy-pod.rs
cancel-clean-via-immediate-rvalue-ref.rs
cast-does-fallback.rs
cast-region-to-uint.rs
cast-rfc0401-vtable-kinds.rs
cast-rfc0401.rs
cast-to-infer-ty.rs
cast.rs
catch-unwind-bang.rs
cell-does-not-clone.rs
char_unicode.rs
char.rs
check_const-feature-gated.rs
check-static-recursion-foreign.rs
child-outlives-parent.rs
cleanup-arm-conditional.rs
cleanup-rvalue-during-if-and-while.rs
cleanup-rvalue-for-scope.rs
cleanup-rvalue-scopes.rs
cleanup-rvalue-temp-during-incomplete-alloc.rs
cleanup-shortcircuit.rs
clone-with-exterior.rs
close-over-big-then-small-data.rs
cmp-default.rs
codegen-object-shim.rs
collections-const-new.rs
command-before-exec.rs
command-exec.rs std: Synchronize access to global env during exec 2018-11-14 12:46:57 -08:00
compiletest-skip-codegen.rs
complex.rs
concat.rs
const-int-conversion.rs Stabilize the int_to_from_bytes feature 2018-11-25 08:29:01 +01:00
const-int-overflowing.rs
const-int-rotate.rs
const-int-sign.rs
const-int-wrapping.rs
const-needs_drop.rs
core-run-destroy.rs
crate-leading-sep.rs
crate-method-reexport-grrrrrrr.rs
crate-name-attr-used.rs
crt-static-off-works.rs
crt-static-on-works.rs
cycle-generic-bound.rs
dead-code-alias-in-pat.rs
dead-code-leading-underscore.rs
debuginfo-lto.rs
deep.rs
default-alloc-error-hook.rs
default-associated-types.rs
default-method-parsing.rs
default-method-simple.rs
defaults-well-formedness.rs
deprecation-in-force-unstable.rs
deref-lval.rs
deref-mut-on-ref.rs
deref-on-ref.rs
deref-rc.rs
deref.rs
discriminant_value-wrapper.rs
discriminant_value.rs
diverging-fallback-control-flow.rs
diverging-fallback-method-chain.rs
diverging-fallback-option.rs
double-ref.rs
dupe-first-attr.rc
duplicated-external-mods.rs
early-ret-binop-add.rs
early-vtbl-resolution.rs
edition-keywords-2015-2015.rs
edition-keywords-2015-2018.rs
edition-keywords-2018-2015.rs
edition-keywords-2018-2018.rs
else-if.rs
empty_global_asm.rs
empty-allocation-non-null.rs
empty-allocation-rvalue-non-null.rs
empty-type-parameter-list.rs
env-args-reverse-iterator.rs
env-funky-keys.rs
env-home-dir.rs
env-null-vars.rs
env-vars.rs
epoch-gate-feature.rs
eq-multidispatch.rs
estr-uniq.rs
exec-env.rs
existential_type.rs
explicit-i-suffix.rs
export-glob-imports-target.rs
export-multi.rs
export-non-interference2.rs
export-non-interference3.rs
expr-block-fn.rs
expr-block-generic-unique1.rs
expr-block-generic-unique2.rs
expr-block-generic.rs
expr-block-slot.rs
expr-block-unique.rs
expr-block.rs
expr-copy.rs
expr-empty-ret.rs
expr-fn.rs
expr-if-generic.rs
expr-if-panic-all.rs
expr-if-panic.rs
expr-if-unique.rs
expr-if.rs
expr-scope.rs
ext-expand-inner-exprs.rs
extend-for-unit.rs
exterior.rs
extoption_env-not-defined.rs
fact.rs
fat-lto.rs
fat-ptr-cast.rs
fds-are-cloexec.rs
filter-block-view-items.rs
fixup-deref-mut.rs
format-hygiene.rs
format-nan.rs
format-no-std.rs
format-ref-cell.rs
fsu-moves-and-copies.rs
fun-call-variants.rs
fun-indirect-call.rs
futures-api.rs
global-scope.rs
guards-not-exhaustive.rs
guards.rs
hashmap-memory.rs
hello.rs
html-literals.rs
if-bot.rs
if-check.rs
if-ret.rs
ifmt.rs
ignore-all-the-things.rs
impl-for-never.rs
impl-inherent-non-conflict.rs
impl-not-adjacent-to-type.rs
impl-privacy-xc-1.rs
impl-privacy-xc-2.rs
impl-trait-in-bindings.rs
in-band-lifetimes.rs
inc-range-pat.rs
infer-fn-tail-expr.rs
inherit-env.rs Move a flaky process test out of libstd 2018-11-21 21:56:23 -08:00
init-large-type.rs
init-res-into-things.rs
inlined-main.rs
inner-attrs-on-impl.rs
inner-module.rs
inner-static.rs
instantiable.rs
invalid_const_promotion.rs
invoke-external-foreign.rs
irrefutable-unit.rs
issue-48006.rs
issue-53728.rs
issue-54462-mutable-noalias-correctness.rs
issue-54467.rs
issue-55376.rs
issue-55380.rs pass the parameter environment to traits::find_associated_item 2018-12-03 00:53:17 +02:00
issue-56237.rs Normalize type before deferred sizedness checking. 2018-11-27 23:38:08 +09:00
istr.rs
item-attributes.rs
item-name-overload.rs
keyword-changes-2012-07-31.rs
kindck-implicit-close-over-mut-var.rs
kinds-in-metadata.rs
lambda-infer-unresolved.rs
lambda-var-hygiene.rs
large-records.rs
last-use-in-block.rs
last-use-in-cap-clause.rs
last-use-is-capture.rs
lazy-and-or.rs
lazy-init.rs
leak-unique-as-tydesc.rs
lex-bare-cr-nondoc-comment.rs
lexer-crlf-line-endings-string-literal-doc-comment.rs
lexical-scoping.rs
lib-defaults.rs
link-cfg-works.rs
link-section.rs
linkage1.rs
lint-cap.rs
lint-dead-code-associated-type.rs
lint-dead-code-variant.rs
lint-expr-stmt-attrs-for-early-lints.rs
lint-non-camel-case-types-non-uppercase-statics-unicode.rs
lint-non-camel-case-with-trailing-underscores.rs
lint-unknown-lints-at-crate-level.rs
list.rs
liveness-assign-imm-local-after-ret.rs
llvm-pr32379.rs
log-err-phi.rs
log-knows-the-names-of-variants-in-std.rs
log-knows-the-names-of-variants.rs
log-poly.rs
logging_before_rt_started.rs
logging-only-prints-once.rs
long-while.rs
lto-many-codegen-units.rs
lto-still-runs-thread-dtors.rs
lub-glb-with-unbound-infer-var.rs
macro-quote-cond.rs tests: move all proc_macro tests from -fulldeps. 2018-11-30 06:15:20 +02:00
macro-quote-test.rs tests: move all proc_macro tests from -fulldeps. 2018-11-30 06:15:20 +02:00
max-min-classes.rs
mid-path-type-params.rs
minmax-stability-issue-23687.rs
monad.rs
monomorphize-abi-alignment.rs
monomorphized-callees-with-ty-params-3314.rs
mpsc_stress.rs Stress test for MPSC 2018-11-15 00:18:19 +00:00
msvc-data-only.rs
multi-panic.rs
multibyte.rs
multidispatch1.rs
multidispatch2.rs
multidispatch-conditional-impl-not-considered.rs
multiline-comment.rs
multiple-reprs.rs
mut-function-arguments.rs
mut-vstore-expr.rs
mutual-recursion-group.rs
native-print-no-runtime.rs
negative.rs
nested_item_main.rs
nested-block-comment.rs
nested-class.rs
nested-function-names-issue-8587.rs
never_coercions.rs
never-result.rs
never-type-rvalues.rs
new-box-syntax.rs
new-box.rs
new-impl-syntax.rs
new-import-syntax.rs
new-style-constants.rs
new-unicode-escapes.rs
new-unsafe-pointers.rs
newlambdas-ret-infer2.rs
newlambdas-ret-infer.rs
newlambdas.rs
newtype-polymorphic.rs
newtype-temporary.rs
newtype.rs
nil-decl-in-foreign.rs
no-core-1.rs
no-landing-pads.rs
no-std-1.rs
no-std-2.rs
no-std-3.rs
no-stdio.rs
non-built-in-quote.rs
non-legacy-modes.rs
nul-characters.rs
nullable-pointer-ffi-compat.rs
nullable-pointer-iotareduction.rs
nullable-pointer-size.rs
object-lifetime-default-default-to-static.rs
object-lifetime-default-from-rptr-box.rs
object-lifetime-default-from-rptr-mut.rs
object-lifetime-default-from-rptr.rs
object-method-numbering.rs
objects-coerce-freeze-borrored.rs
objects-owned-object-borrowed-method-headerless.rs
objects-owned-object-owned-method.rs
once-move-out-on-heap.rs
one-tuple.rs
op-assign-builtins-by-ref.rs
opeq.rs
operator-associativity.rs
operator-multidispatch.rs
operator-overloading.rs
optimization-fuel-0.rs Add explcit --error-format options to tests of print-fuel to sidestep compiletests presumption of JSON. 2018-11-06 17:07:27 +01:00
optimization-fuel-0.stderr Add explcit --error-format options to tests of print-fuel to sidestep compiletests presumption of JSON. 2018-11-06 17:07:27 +01:00
optimization-fuel-1.rs Add explcit --error-format options to tests of print-fuel to sidestep compiletests presumption of JSON. 2018-11-06 17:07:27 +01:00
optimization-fuel-1.stderr Add explcit --error-format options to tests of print-fuel to sidestep compiletests presumption of JSON. 2018-11-06 17:07:27 +01:00
option-ext.rs
option-unwrap.rs
out-of-stack.rs
out-pointer-aliasing.rs
output-slot-variants.rs
over-constrained-vregs.rs
overlap-doesnt-conflict-with-specialization.rs
overlap-permitted-for-annotated-marker-traits.rs
owned-implies-static.rs
panic-uninitialized-zeroed.rs
paren-free.rs
parse-assoc-type-lt.rs
parse-panic.rs
parser-unicode-whitespace.rs
path.rs
paths-containing-nul.rs
print-stdout-eprint-stderr.rs
proc_macro.rs tests: move all proc_macro tests from -fulldeps. 2018-11-30 06:15:20 +02:00
project-cache-issue-31849.rs
project-cache-issue-37154.rs
project-defer-unification.rs
ptr-coercion.rs
pure-sum.rs
purity-infer.rs
range_inclusive_gate.rs
range_inclusive.rs
range-type-infer.rs
range.rs
ranges-precedence.rs
raw-fat-ptr.rs
raw-str.rs
rcvr-borrowed-to-region.rs
reachable-unnameable-items.rs
reachable-unnameable-type-alias.rs
readalias.rs
realloc-16687.rs
reexport-should-still-link.rs
reexport-star.rs
reexport-test-harness-main.rs
refer-to-other-statics-by-value.rs
repeat-expr-in-static.rs
repr_c_int_align.rs
resolve-issue-2428.rs
resolve-pseudo-shadowing.rs
resource-assign-is-not-copy.rs
resource-destruct.rs
result-opt-conversions.rs
ret-bang.rs
ret-none.rs
return-nil.rs
rmeta.rs
running-with-no-runtime.rs
rustc-rust-log.rs Try to work around #53332 in src/test/run-pass/rustc-rust-log.rs 2018-11-24 23:42:14 +01:00
rvalue-static-promotion.rs
segfault-no-out-of-stack.rs
semistatement-in-lambda.rs
seq-compare.rs
shadow.rs
shadowed-use-visibility.rs
shebang.rs
signal-alternate-stack-cleanup.rs
signal-exit-status.rs
sigpipe-should-be-ignored.rs
simple_global_asm.rs
simple-infer.rs
size-and-align.rs
sized-borrowed-pointer.rs
sized-owned-pointer.rs
sleep.rs
slowparse-bstring.rs
slowparse-string.rs
snake-case-no-lowercase-equivalent.rs
sse2.rs
stable-addr-of.rs
stack-probes-lto.rs
stack-probes.rs
stdio-is-blocking.rs
str-concat.rs
str-multiline.rs
string-box-error.rs Incorporate dyn into more comments and docs. 2018-11-20 09:35:03 -05:00
string-escapes.rs
structured-compare.rs
super-fast-paren-parsing.rs
super.rs
supported-cast.rs
svh-add-nothing.rs
swap-1.rs
swap-2.rs
swap-overlapping.rs
tail-call-arg-leak.rs
tail-cps.rs
tail-direct.rs
tcp-stress.rs
terminate-in-initializer.rs
test-allow-dead-extern-static-no-warning.rs
test-allow-fail-attr.rs
test-allow-non-camel-case-variant.rs
test-fn-signature-verification-for-explicit-return-type.rs
test-main-not-dead-attr.rs
test-main-not-dead.rs
test-runner-hides-buried-main.rs
test-runner-hides-main.rs
test-runner-hides-start.rs
test-should-fail-good-message.rs
test-vs-cfg-test.rs
thin-lto-global-allocator.rs
thread-local-not-in-prelude.rs
tool_attributes.rs
tool_lints_2018_preview.rs
tool_lints.rs
trailing-comma.rs
transmute-non-immediate-to-immediate.rs
transmute-specialization.rs
trivial_casts.rs
trivial-message.rs
try-block.rs
try-from-int-error-partial-eq.rs
try-is-identifier-edition2015.rs
try-operator-custom.rs
try-operator-hygiene.rs
try-operator.rs
try-wait.rs
tup.rs
tuple-index-fat-types.rs
tuple-index.rs
tydesc-name.rs
type-ascription.rs
type-id-higher-rank-2.rs
type-id-higher-rank.rs
type-in-nested-module.rs
type-infer-generalize-ty-var.rs
type-namespace.rs
type-param-constraints.rs
type-param.rs
type-params-in-for-each.rs
type-ptr.rs
type-sizes.rs
type-use-i1-versus-i8.rs
typeck_type_placeholder_1.rs
typeck-fn-to-unsafe-fn-ptr.rs
typeclasses-eq-example-static.rs
typeclasses-eq-example.rs
typeid-intrinsic.rs
typestate-cfg-nesting.rs
typestate-multi-decl.rs
ufcs-polymorphic-paths.rs
ufcs-type-params.rs
unary-minus-suffix-inference.rs
underscore-lifetimes.rs
underscore-method-after-integer.rs
unify-return-ty.rs
uninit-empty-types.rs
unit.rs
unnamed_argument_mode.rs
unreachable-code-1.rs
unreachable-code.rs
unsafe-coercion.rs
unsafe-fn-called-from-unsafe-blk.rs
unsafe-fn-called-from-unsafe-fn.rs
unsafe-pointer-assignability.rs
unsized2.rs
unsized3.rs
unsized-tuple-impls.rs
unsized.rs
unused-move-capture.rs
unused-move.rs
unwind-resource.rs
unwind-unique.rs
use_inline_dtor.rs
use-crate-name-alias.rs
use-import-export.rs
use-keyword-2.rs
use-mod.rs
use-nested-groups.rs
use.rs
using-target-feature-unstable.rs
utf8_chars.rs
utf8_idents.rs
utf8-bom.rs
utf8.rs
variadic-ffi.rs
variance-intersection-of-ref-and-opt-ref.rs
variance-iterators-in-libcore.rs
variant-attributes.rs
volatile-fat-ptr.rs
wait-forked-but-failed-child.rs
warn-ctypes-inhibit.rs
weak-lang-item.rs
weak-new-uninhabited-issue-48493.rs
weird-exit-code.rs
weird-exprs.rs
wf-bound-region-in-object-type.rs
wrapping-int-api.rs
write-fmt-errors.rs
writealias.rs
wrong-hashset-issue-42918.rs
x86stdcall2.rs
x86stdcall.rs
yield1.rs
yield2.rs
yield.rs
z-crate-attr.rs