rust/src/test/ui/generator
Yuki Okushi ce06df2e4a
Rollup merge of #81008 - tmiasko:generator-layout-err, r=tmandry
Don't ICE when computing a layout of a generator tainted by errors

Fixes #80998.
2021-01-15 18:26:16 +09:00
..
auxiliary Encode optimized MIR of generators when emitting metadata 2021-01-14 00:00:00 +00:00
print Use Places to express closure/generator Captures 2020-11-10 20:44:47 -05:00
addassign-yield.rs
async-generator-issue-67158.rs
async-generator-issue-67158.stderr
auto-trait-regions.nll.stderr
auto-trait-regions.rs Rename optin_builtin_traits to auto_traits 2020-11-23 14:14:06 -08:00
auto-trait-regions.stderr
borrow-in-tail-expr.rs
borrowing.rs
borrowing.stderr
conditional-drop.rs
control-flow.rs
discriminant.rs
drop-and-replace.rs
drop-env.rs
dropck-resume.rs
dropck-resume.stderr
dropck.rs
dropck.stderr
generator-region-requirements.migrate.stderr
generator-region-requirements.rs
generator-region-requirements.stderr
generator-resume-after-panic.rs
generator-with-nll.rs
generator-with-nll.stderr
generator-yielding-or-returning-itself.rs
generator-yielding-or-returning-itself.stderr Replace tuple of infer vars for upvar_tys with single infer var 2020-10-11 03:32:35 -04:00
issue-44197.rs
issue-48048.rs
issue-48048.stderr
issue-52398.rs
issue-52398.stderr
issue-53548-1.rs
issue-53548.rs
issue-57084.rs
issue-57084.stderr
issue-58888.rs
issue-61442-stmt-expr-with-drop.rs
issue-62506-two_awaits.rs
issue-64620-yield-array-element.rs
issue-64620-yield-array-element.stderr
issue-68112.rs
issue-68112.stderr traits diagnostics: Don't print closure/generator upvar_tys tuple 2020-10-11 03:33:27 -04:00
issue-69017.rs
issue-69039.rs
iterator-count.rs
layout-error.rs Don't ICE when computing a layout of a generator tainted by errors 2021-01-14 13:13:13 +01:00
layout-error.stderr Don't ICE when computing a layout of a generator tainted by errors 2021-01-14 13:13:13 +01:00
live-upvar-across-yield.rs
match-bindings.rs
match-bindings.stderr
metadata-sufficient-for-layout.rs Encode optimized MIR of generators when emitting metadata 2021-01-14 00:00:00 +00:00
nested_generators.rs
niche-in-generator.rs
non-static-is-unpin.rs
not-send-sync.rs
not-send-sync.stderr traits diagnostics: Don't print closure/generator upvar_tys tuple 2020-10-11 03:33:27 -04:00
overlap-locals.rs
panic-drops-resume.rs
panic-drops.rs
panic-safe.rs
partial-initialization-across-yield.rs
partial-initialization-across-yield.stderr
pattern-borrow.rs
pattern-borrow.stderr
pin-box-generator.rs
reborrow-mut-upvar.rs
reborrow-mut-upvar.stderr
ref-escapes-but-not-over-yield.rs
ref-escapes-but-not-over-yield.stderr Normalise diagnostics with respect to "the X is declared/defined here" 2020-01-24 16:24:49 +00:00
resume-after-return.rs
resume-arg-late-bound.nll.stderr
resume-arg-late-bound.rs
resume-arg-late-bound.stderr Provide more information for HRTB lifetime errors involving closures 2021-01-12 13:53:13 -08:00
resume-arg-size.rs
resume-live-across-yield.rs
retain-resume-ref.rs
retain-resume-ref.stderr
size-moved-locals.rs
sized-yield.rs
sized-yield.stderr Fix tests from rebase 2020-10-06 11:19:33 +01:00
smoke-resume-args.rs
smoke.rs
static-generators.rs Capitalize safety comments 2020-09-08 22:37:18 -04:00
static-mut-reference-across-yield.rs
static-not-unpin.rs
static-not-unpin.stderr Replace tuple of infer vars for upvar_tys with single infer var 2020-10-11 03:32:35 -04:00
static-reference-across-yield.rs
too-live-local-in-immovable-gen.rs
too-live-local-in-immovable-gen.stderr
too-many-parameters.rs
too-many-parameters.stderr
type-mismatch-error.rs
type-mismatch-error.stderr
type-mismatch-signature-deduction.rs
type-mismatch-signature-deduction.stderr Explain where the closure return type was inferred 2020-10-22 10:44:55 -04:00
xcrate-reachable.rs
xcrate.rs
yield-in-args-rev.rs
yield-in-args-rev.stderr
yield-in-args.rs
yield-in-args.stderr
yield-in-box.rs
yield-in-box.stderr
yield-in-const.rs
yield-in-const.stderr
yield-in-function.rs
yield-in-function.stderr
yield-in-initializer.rs
yield-in-initializer.stderr
yield-in-static.rs
yield-in-static.stderr
yield-subtype.rs
yield-subtype.stderr
yield-while-iterating.rs
yield-while-iterating.stderr
yield-while-local-borrowed.rs
yield-while-local-borrowed.stderr
yield-while-ref-reborrowed.rs
yield-while-ref-reborrowed.stderr
yielding-in-match-guards.rs Add a few basic tests for if-let guards 2020-12-06 13:43:21 +01:00