rust/src/test/ui/async-await
2021-02-21 16:27:29 -08:00
..
auxiliary
await-keyword Silence unnecessary await foo? knock-down error 2020-10-23 08:06:41 -07:00
drop-order smoke-test for async fn with mir-opt-level=0 2020-04-22 23:34:13 +02:00
issues spell the real selftype 2021-02-13 14:45:53 +08:00
multiple-lifetimes Make it more clear when complaining about async fn's return types 2020-10-17 15:57:47 -07:00
argument-patterns.rs
async-assoc-fn-anon-lifetimes.rs
async-await.rs smoke-test for async fn with mir-opt-level=0 2020-04-22 23:34:13 +02:00
async-block-control-flow-static-semantics.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
async-block-control-flow-static-semantics.stderr path trimming: ignore type aliases 2021-02-06 12:03:48 +02:00
async-borrowck-escaping-block-error.fixed Suggest move for closures and async blocks in more cases. 2020-04-08 13:01:53 +02:00
async-borrowck-escaping-block-error.rs Suggest move for closures and async blocks in more cases. 2020-04-08 13:01:53 +02:00
async-borrowck-escaping-block-error.stderr Suggest move for closures and async blocks in more cases. 2020-04-08 13:01:53 +02:00
async-borrowck-escaping-closure-error.rs Suggest move for closures and async blocks in more cases. 2020-04-08 13:01:53 +02:00
async-borrowck-escaping-closure-error.stderr
async-closure-matches-expr.rs
async-closure.rs smoke-test for async fn with mir-opt-level=0 2020-04-22 23:34:13 +02:00
async-error-span.rs Adds a clearer message for when the async keyword is missing from a function 2020-06-25 16:01:45 -07:00
async-error-span.stderr Fix tests from rebase 2020-10-06 11:19:33 +01:00
async-fn-elided-impl-lifetime-parameter.rs
async-fn-nonsend.rs
async-fn-nonsend.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
async-fn-path-elision.rs
async-fn-path-elision.stderr
async-fn-send-uses-nonsend.rs
async-fn-size-moved-locals.rs Revert #71956 2020-06-08 14:58:37 -07:00
async-fn-size-uninit-locals.rs Use smaller discriminants for generators 2020-03-14 14:09:48 +01:00
async-fn-size.rs Use smaller discriminants for generators 2020-03-14 14:09:48 +01:00
async-matches-expr.rs
async-trait-fn.rs
async-trait-fn.stderr
async-unsafe-fn-call-in-safe.rs
async-unsafe-fn-call-in-safe.stderr
async-with-closure.rs
await-unsize.rs
bound-normalization.rs
conditional-and-guaranteed-initialization.rs
dont-print-desugared-async.rs
dont-print-desugared-async.stderr
dont-suggest-missing-await.rs
dont-suggest-missing-await.stderr Add more .await suggestions on E0308 2020-10-23 08:06:41 -07:00
edition-deny-async-fns-2015.rs Consistently call editions "Rust 20xx" in messages. 2020-12-31 19:06:09 +01:00
edition-deny-async-fns-2015.stderr Consistently call editions "Rust 20xx" in messages. 2020-12-31 19:06:09 +01:00
expansion-in-attrs.rs def_collector: Fully visit async functions 2020-03-15 03:15:47 +03:00
feature-async-closure.rs
feature-async-closure.stderr Suggest async {} for async || {} 2020-09-22 13:22:10 -07:00
futures-api.rs
generator-desc.rs name async generators something more human friendly in type error diagnostics 2021-02-15 08:51:08 -08:00
generator-desc.stderr name async generators something more human friendly in type error diagnostics 2021-02-15 08:51:08 -08:00
generics-and-bounds.rs
issue-54239-private-type-triggers-lint.rs
issue-60709.rs
issue-61076.rs Suggest calling await on method call and field access 2020-10-26 08:11:43 -07:00
issue-61076.stderr Suggest calling await on method call and field access 2020-10-26 08:11:43 -07:00
issue-61452.rs
issue-61452.stderr
issue-61793.rs
issue-61949-self-return-type.rs
issue-61949-self-return-type.stderr resolve error code e0760 2020-06-04 09:37:32 +08:00
issue-62658.rs
issue-63832-await-short-temporary-lifetime-1.rs
issue-63832-await-short-temporary-lifetime.rs
issue-64130-1-sync.rs introduce negative_impls feature gate and document 2020-03-26 06:52:55 -04:00
issue-64130-1-sync.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
issue-64130-2-send.rs introduce negative_impls feature gate and document 2020-03-26 06:52:55 -04:00
issue-64130-2-send.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
issue-64130-3-other.rs Rename optin_builtin_traits to auto_traits 2020-11-23 14:14:06 -08:00
issue-64130-3-other.stderr Fix UI tests for negative polarity implementations of traits 2020-12-01 13:30:08 -06:00
issue-64130-4-async-move.rs
issue-64130-4-async-move.stderr Fix tests from rebase 2020-10-06 11:19:33 +01:00
issue-64130-non-send-future-diags.rs
issue-64130-non-send-future-diags.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
issue-64391.rs
issue-66312.rs Add test for #66312 2020-03-24 16:44:45 -07:00
issue-66312.stderr Add test for #66312 2020-03-24 16:44:45 -07:00
issue-66387-if-without-else.rs
issue-66387-if-without-else.stderr
issue-67252-unnamed-future.rs
issue-67252-unnamed-future.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
issue-67651.rs Update tests 2020-03-23 19:31:41 +01:00
issue-67651.stderr Update tests 2020-03-23 19:31:41 +01:00
issue-67765-async-diagnostic.rs Use an 'approximate' universal upper bound when reporting region errors 2020-06-27 14:01:59 -04:00
issue-67765-async-diagnostic.stderr Remove predicates on associated types from traits 2020-10-06 11:19:31 +01:00
issue-68112.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
issue-68112.stderr pretty.rs: Update Closure and Generator print 2020-09-28 01:27:19 -04:00
issue-68523-start.rs tweak error message 2020-08-04 21:36:21 +02:00
issue-68523-start.stderr tweak error message 2020-08-04 21:36:21 +02:00
issue-68523.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
issue-68523.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
issue-69446-fnmut-capture.rs Display information about captured variable in FnMut error 2020-05-25 23:18:00 -04:00
issue-69446-fnmut-capture.stderr Display information about captured variable in FnMut error 2020-05-25 23:18:00 -04:00
issue-70594.rs Update tests 2020-06-28 10:08:12 -07:00
issue-70594.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
issue-70818.rs bless issue-70818 test case 2020-05-06 17:03:15 +08:00
issue-70818.stderr Fix tests from rebase 2020-10-06 11:19:33 +01:00
issue-70935-complex-spans.rs Avoid complex diagnostics in snippets which contain newlines 2020-11-02 15:53:58 +09:00
issue-70935-complex-spans.stderr Add "this has type {} which {}" note 2020-11-02 15:53:59 +09:00
issue-71137.rs add test for correct await span 2020-04-22 09:51:56 +08:00
issue-71137.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
issue-72442.rs bless issue-72442 2020-05-22 16:16:37 +08:00
issue-72442.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
issue-72590-type-error-sized.rs Don't bail out of trait selection when predicate references an error 2020-05-26 14:26:40 -04:00
issue-72590-type-error-sized.stderr Add unsized_fn_params feature 2020-10-27 14:45:02 -03:00
issue-73050.rs Allow inference regions when relating consts 2020-06-10 18:09:34 -07:00
issue-73137.rs Stabilize the Wake trait 2021-02-03 16:54:29 +01:00
issue-73541-2.rs Move some tests to more reasonable directories 2021-01-31 19:46:46 -03:00
issue-73541-2.stderr Move some tests to more reasonable directories 2021-01-31 19:46:46 -03:00
issue-74072-lifetime-name-annotations.rs use RegionNameHighlight for async fn and closure returns 2020-11-09 16:14:40 +00:00
issue-74072-lifetime-name-annotations.stderr Prefer regions with an external_name in approx_universal_upper_bound 2020-12-17 13:24:40 -05:00
issue-74497-lifetime-in-opaque.rs use RegionNameHighlight for async fn and closure returns 2020-11-09 16:14:40 +00:00
issue-74497-lifetime-in-opaque.stderr use RegionNameHighlight for async fn and closure returns 2020-11-09 16:14:40 +00:00
issue-75785-confusing-named-region.rs Prefer regions with an external_name in approx_universal_upper_bound 2020-12-17 13:24:40 -05:00
issue-75785-confusing-named-region.stderr Prefer regions with an external_name in approx_universal_upper_bound 2020-12-17 13:24:40 -05:00
issue-76547.nll.stderr Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-76547.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-76547.stderr Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-77993-2.rs Move some tests to more reasonable directories 2021-02-16 21:22:21 -03:00
issue-77993-2.stderr Move some tests to more reasonable directories 2021-02-16 21:22:21 -03:00
move-part-await-return-rest-struct.rs
move-part-await-return-rest-tuple.rs
mutually-recursive-async-impl-trait-type.rs
mutually-recursive-async-impl-trait-type.stderr add suggestion to use the async_recursion crate 2021-02-09 18:43:39 +05:30
nested-in-impl.rs
no-async-const.rs
no-async-const.stderr
no-const-async.rs delay_span_bug if const-checking an async function 2020-09-29 19:20:33 -07:00
no-const-async.stderr delay_span_bug if const-checking an async function 2020-09-29 19:20:33 -07:00
no-move-across-await-struct.rs
no-move-across-await-struct.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
no-move-across-await-tuple.rs
no-move-across-await-tuple.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
no-non-guaranteed-initialization.rs
no-non-guaranteed-initialization.stderr
no-params-non-move-async-closure.rs
no-params-non-move-async-closure.stderr Add long error explanation for E0708 #61137 2020-04-12 17:22:59 +05:30
no-std.rs Test that async/await compiles with #![no_std] 2020-03-17 22:17:31 +01:00
no-unsafe-async.rs
no-unsafe-async.stderr
partial-initialization-across-await.rs
partial-initialization-across-await.stderr
recursive-async-impl-trait-type.rs
recursive-async-impl-trait-type.stderr add suggestion to use the async_recursion crate 2021-02-09 18:43:39 +05:30
repeat_count_const_in_async_fn.rs Move some tests to more reasonable directories 2021-02-16 21:22:21 -03:00
return-ty-raw-ptr-coercion.rs
return-ty-unsize-coercion.rs
suggest-missing-await-closure.fixed Tweak "use .await" suggestion 2020-10-23 08:02:57 -07:00
suggest-missing-await-closure.rs Tweak "use .await" suggestion 2020-10-23 08:02:57 -07:00
suggest-missing-await-closure.stderr Tweak "use .await" suggestion 2020-10-23 08:02:57 -07:00
suggest-missing-await.rs reword ; suggestions to have consistent wording 2021-02-21 16:27:29 -08:00
suggest-missing-await.stderr reword ; suggestions to have consistent wording 2021-02-21 16:27:29 -08:00
suggest-switching-edition-on-await.rs
suggest-switching-edition-on-await.stderr Add edition 2021. 2020-12-31 19:06:09 +01:00
try-on-option-in-async.rs implement type_implments_trait query 2020-05-15 15:37:11 +08:00
try-on-option-in-async.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
unreachable-lint-1.rs
unreachable-lint-1.stderr
unreachable-lint.rs
unresolved_type_param.rs
unresolved_type_param.stderr
unused-lifetime.rs Update tests of "unused_lifetimes" lint for async functions and corresponding source code 2020-12-04 08:25:59 +03:00
unused-lifetime.stderr Update tests of "unused_lifetimes" lint for async functions and corresponding source code 2020-12-04 08:25:59 +03:00