diff options
| author | Michael Goulet <michael@errs.io> | 2021-11-19 20:51:44 -0800 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2021-11-23 10:34:17 -0800 |
| commit | 9ae575c795a809f2a25ce487cfb0297511297a8a (patch) | |
| tree | 39edc125ef0c7fbd21391956de7919d4449aba3b /src/test/ui/generator | |
| parent | 471334e99617e20a2165b035241e6aa51bb29628 (diff) | |
| download | rust-9ae575c795a809f2a25ce487cfb0297511297a8a.tar.gz rust-9ae575c795a809f2a25ce487cfb0297511297a8a.zip | |
Update test outputs
Diffstat (limited to 'src/test/ui/generator')
| -rw-r--r-- | src/test/ui/generator/issue-68112.stderr | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/ui/generator/issue-68112.stderr b/src/test/ui/generator/issue-68112.stderr index c3fc8dd8f92..a7d7a732548 100644 --- a/src/test/ui/generator/issue-68112.stderr +++ b/src/test/ui/generator/issue-68112.stderr @@ -9,7 +9,7 @@ note: generator is not `Send` as this value is used across a yield --> $DIR/issue-68112.rs:31:9 | LL | let _non_send_gen = make_non_send_generator(); - | ------------- has type `impl Generator` which is not `Send` + | ------------- has type `impl Generator<Return = Arc<RefCell<i32>>>` which is not `Send` LL | yield; | ^^^^^ yield occurs here, with `_non_send_gen` maybe used later LL | }; @@ -29,9 +29,9 @@ LL | require_send(send_gen); = help: the trait `Sync` is not implemented for `RefCell<i32>` = note: required because of the requirements on the impl of `Send` for `Arc<RefCell<i32>>` = note: required because it appears within the type `[generator@$DIR/issue-68112.rs:38:5: 41:6]` - = note: required because it appears within the type `impl Generator` - = note: required because it appears within the type `impl Generator` - = note: required because it appears within the type `{impl Generator, ()}` + = note: required because it appears within the type `impl Generator<Return = Arc<RefCell<i32>>>` + = note: required because it appears within the type `impl Generator<Return = Arc<RefCell<i32>>>` + = note: required because it appears within the type `{impl Generator<Return = Arc<RefCell<i32>>>, ()}` = note: required because it appears within the type `[generator@$DIR/issue-68112.rs:48:20: 51:6]` note: required by a bound in `require_send` --> $DIR/issue-68112.rs:22:25 |
