rust/src/test/ui/generator
Camelid 810324d1f3 Rename optin_builtin_traits to auto_traits
They were originally called "opt-in, built-in traits" (OIBITs), but
people realized that the name was too confusing and a mouthful, and so
they were renamed to just "auto traits". The feature flag's name wasn't
updated, though, so that's what this PR does.

There are some other spots in the compiler that still refer to OIBITs,
but I don't think changing those now is worth it since they are internal
and not particularly relevant to this PR.

Also see <https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/opt-in.2C.20built-in.20traits.20(auto.20traits).20feature.20name>.
2020-11-23 14:14:06 -08:00
..
auxiliary Add a resume type parameter to Generator 2020-02-02 13:20:57 +01:00
print Use Places to express closure/generator Captures 2020-11-10 20:44:47 -05:00
addassign-yield.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
async-generator-issue-67158.rs Do not ICE when encountering yield inside async block 2020-02-16 18:53:52 -08:00
async-generator-issue-67158.stderr Do not ICE when encountering yield inside async block 2020-02-16 18:53:52 -08:00
auto-trait-regions.nll.stderr introduce negative_impls feature gate and document 2020-03-26 06:52:55 -04:00
auto-trait-regions.rs Rename optin_builtin_traits to auto_traits 2020-11-23 14:14:06 -08:00
auto-trait-regions.stderr introduce negative_impls feature gate and document 2020-03-26 06:52:55 -04:00
borrow-in-tail-expr.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
borrowing.rs Add a resume type parameter to Generator 2020-02-02 13:20:57 +01:00
borrowing.stderr Make needs_drop less pessimistic on generators 2020-04-17 20:30:23 +02:00
conditional-drop.rs also run some generator tests without MIR optimizations 2020-04-28 08:22:08 +02:00
control-flow.rs also run some generator tests without MIR optimizations 2020-04-28 08:22:08 +02:00
discriminant.rs improve DiscriminantKind handling 2020-07-15 10:20:44 +02:00
drop-and-replace.rs Add a resume type parameter to Generator 2020-02-02 13:20:57 +01:00
drop-env.rs also run some generator tests without MIR optimizations 2020-04-28 08:22:08 +02:00
dropck-resume.rs Teach dropck about resume arguments 2020-02-02 13:20:58 +01:00
dropck-resume.stderr Teach dropck about resume arguments 2020-02-02 13:20:58 +01:00
dropck.rs Add a resume type parameter to Generator 2020-02-02 13:20:57 +01:00
dropck.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
generator-region-requirements.migrate.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
generator-region-requirements.rs Add a resume type parameter to Generator 2020-02-02 13:20:57 +01:00
generator-region-requirements.stderr Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
generator-resume-after-panic.rs Skip tests on emscripten 2020-05-08 00:39:02 +09:00
generator-with-nll.rs Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
generator-with-nll.stderr Remove feature(nll) when compare mode is sufficient 2019-05-12 18:46:43 +01:00
generator-yielding-or-returning-itself.rs Move stray generator test into the generator dir 2020-03-05 23:01:57 +01:00
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 Add a resume type parameter to Generator 2020-02-02 13:20:57 +01:00
issue-48048.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-48048.stderr Update tests 2019-03-11 23:10:26 +03:00
issue-52398.rs Make closures and generators a must use types 2020-07-28 00:00:00 +00:00
issue-52398.stderr Make closures and generators a must use types 2020-07-28 00:00:00 +00:00
issue-53548-1.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-53548.rs Use check-pass in ui tests where appropriate 2019-11-04 16:03:46 +01:00
issue-57084.rs Make closures and generators a must use types 2020-07-28 00:00:00 +00:00
issue-57084.stderr Make closures and generators a must use types 2020-07-28 00:00:00 +00:00
issue-58888.rs Upgrade Emscripten targets to use upstream LLVM backend 2019-10-16 17:06:48 -07:00
issue-61442-stmt-expr-with-drop.rs Add a resume type parameter to Generator 2020-02-02 13:20:57 +01:00
issue-62506-two_awaits.rs Remove async_await gates from tests. 2019-08-20 03:08:42 +02:00
issue-64620-yield-array-element.rs Add test for issue-64620 2020-03-09 09:12:41 +09:00
issue-64620-yield-array-element.stderr Add test for issue-64620 2020-03-09 09:12:41 +09:00
issue-68112.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
issue-68112.stderr traits diagnostics: Don't print closure/generator upvar_tys tuple 2020-10-11 03:33:27 -04:00
issue-69017.rs add main function to issue-69017 test 2020-02-10 13:47:52 -05:00
issue-69039.rs Move formatting to different function 2020-03-04 21:32:57 +01:00
iterator-count.rs Add a resume type parameter to Generator 2020-02-02 13:20:57 +01:00
live-upvar-across-yield.rs Add a resume type parameter to Generator 2020-02-02 13:20:57 +01:00
match-bindings.rs Make closures and generators a must use types 2020-07-28 00:00:00 +00:00
match-bindings.stderr Make closures and generators a must use types 2020-07-28 00:00:00 +00:00
nested_generators.rs Add a resume type parameter to Generator 2020-02-02 13:20:57 +01:00
niche-in-generator.rs move test that shouldn't be in test/run-pass/ 2019-08-14 18:04:33 +02:00
non-static-is-unpin.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
not-send-sync.rs Use "generator" instead of "future" when appropriate 2020-04-13 18:48:55 -07:00
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 tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
panic-drops-resume.rs Ignore panic-drops-resume.rs on wasm/emscripten 2020-02-06 15:00:36 +01:00
panic-drops.rs Add a resume type parameter to Generator 2020-02-02 13:20:57 +01:00
panic-safe.rs Add a resume type parameter to Generator 2020-02-02 13:20:57 +01:00
partial-initialization-across-yield.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
partial-initialization-across-yield.stderr Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
pattern-borrow.rs Remove licenses 2018-12-25 21:08:33 -07:00
pattern-borrow.stderr Update tests 2019-03-11 23:10:26 +03:00
pin-box-generator.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
reborrow-mut-upvar.rs Make closures and generators a must use types 2020-07-28 00:00:00 +00:00
reborrow-mut-upvar.stderr Make closures and generators a must use types 2020-07-28 00:00:00 +00:00
ref-escapes-but-not-over-yield.rs update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
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 Add a resume type parameter to Generator 2020-02-02 13:20:57 +01:00
resume-arg-late-bound.nll.stderr fix subtle bug in NLL type checker 2020-06-22 18:51:08 +00:00
resume-arg-late-bound.rs move leak-check to during coherence, candidate eval 2020-06-22 15:33:05 +00:00
resume-arg-late-bound.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
resume-arg-size.rs Fix incorrect comment in generator test 2020-05-27 21:38:38 +02:00
resume-live-across-yield.rs Fix miscompilation 2020-02-03 14:08:57 +01:00
retain-resume-ref.rs Add tests for generator resume arguments 2020-02-02 13:20:57 +01:00
retain-resume-ref.stderr Make needs_drop less pessimistic on generators 2020-04-17 20:30:23 +02:00
size-moved-locals.rs Revert #71956 2020-06-08 14:58:37 -07:00
sized-yield.rs Add a resume type parameter to Generator 2020-02-02 13:20:57 +01:00
sized-yield.stderr Fix tests from rebase 2020-10-06 11:19:33 +01:00
smoke-resume-args.rs also run some generator tests without MIR optimizations 2020-04-28 08:22:08 +02:00
smoke.rs also run some generator tests without MIR optimizations 2020-04-28 08:22:08 +02:00
static-generators.rs Capitalize safety comments 2020-09-08 22:37:18 -04:00
static-mut-reference-across-yield.rs Make pointers to statics internal 2020-01-23 21:38:15 +00:00
static-not-unpin.rs Account for Pin::new(_) and Pin::new(Box::new(_)) when Box::pin(_) would be applicable 2020-02-12 15:13:05 -08:00
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 Record temporary static references in generator witnesses 2019-11-26 23:18:41 +00:00
too-live-local-in-immovable-gen.rs Make closures and generators a must use types 2020-07-28 00:00:00 +00:00
too-live-local-in-immovable-gen.stderr Make closures and generators a must use types 2020-07-28 00:00:00 +00:00
too-many-parameters.rs Update error message with too many parameters 2020-02-04 13:35:38 +01:00
too-many-parameters.stderr Add long error explanation for E0628 #61137 2020-03-10 02:04:48 +05:30
type-mismatch-error.rs Fix error message on type mismatch in generator 2020-02-02 13:20:57 +01:00
type-mismatch-error.stderr Fix error message on type mismatch in generator 2020-02-02 13:20:57 +01:00
type-mismatch-signature-deduction.rs Adjust tests to type inference changes 2020-02-02 13:20:57 +01:00
type-mismatch-signature-deduction.stderr Explain where the closure return type was inferred 2020-10-22 10:44:55 -04:00
xcrate-reachable.rs Add a resume type parameter to Generator 2020-02-02 13:20:57 +01:00
xcrate.rs Add a resume type parameter to Generator 2020-02-02 13:20:57 +01:00
yield-in-args-rev.rs Make closures and generators a must use types 2020-07-28 00:00:00 +00:00
yield-in-args-rev.stderr Make closures and generators a must use types 2020-07-28 00:00:00 +00:00
yield-in-args.rs Remove licenses 2018-12-25 21:08:33 -07:00
yield-in-args.stderr update tests for migrate mode by default 2019-04-22 08:40:08 +01:00
yield-in-box.rs Make closures and generators a must use types 2020-07-28 00:00:00 +00:00
yield-in-box.stderr Make closures and generators a must use types 2020-07-28 00:00:00 +00:00
yield-in-const.rs Yield is an expression form, not a statement. 2019-12-23 21:07:13 +08:00
yield-in-const.stderr Yield is an expression form, not a statement. 2019-12-23 21:07:13 +08:00
yield-in-function.rs Yield is an expression form, not a statement. 2019-12-23 21:07:13 +08:00
yield-in-function.stderr Yield is an expression form, not a statement. 2019-12-23 21:07:13 +08:00
yield-in-initializer.rs Make closures and generators a must use types 2020-07-28 00:00:00 +00:00
yield-in-initializer.stderr Make closures and generators a must use types 2020-07-28 00:00:00 +00:00
yield-in-static.rs Yield is an expression form, not a statement. 2019-12-23 21:07:13 +08:00
yield-in-static.stderr Yield is an expression form, not a statement. 2019-12-23 21:07:13 +08:00
yield-subtype.rs Make closures and generators a must use types 2020-07-28 00:00:00 +00:00
yield-subtype.stderr Make closures and generators a must use types 2020-07-28 00:00:00 +00:00
yield-while-iterating.rs Add a resume type parameter to Generator 2020-02-02 13:20:57 +01:00
yield-while-iterating.stderr Add a resume type parameter to Generator 2020-02-02 13:20:57 +01:00
yield-while-local-borrowed.rs Add a resume type parameter to Generator 2020-02-02 13:20:57 +01:00
yield-while-local-borrowed.stderr Update tests 2019-05-03 03:11:37 -04:00
yield-while-ref-reborrowed.rs Add a resume type parameter to Generator 2020-02-02 13:20:57 +01:00
yield-while-ref-reborrowed.stderr Add a resume type parameter to Generator 2020-02-02 13:20:57 +01:00
yielding-in-match-guards.rs always record reference to binding in match if guards 2020-10-26 09:29:50 +00:00