You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #141484 - matthiaskrgr:rollup-dc58owu, r=matthiaskrgr
Rollup of 7 pull requests
Successful merges:
- #141405 (GetUserProfileDirectoryW is now documented to always store the size)
- #141427 (Disable `triagebot`'s `glacier` handler)
- #141429 (Dont walk into unsafe binders when emiting error for non-structural type match)
- #141438 (Do not try to confirm non-dyn compatible method)
- #141444 (Improve CONTRIBUTING.md grammar and clarity)
- #141446 (Add 2nd Solaris target maintainer)
- #141456 (Suggest correct `version("..")` predicate syntax in check-cfg)
r? `@ghost`
`@rustbot` modify labels: rollup
There are many ways you can get help when you're stuck. Rust has many platforms for this:
35
35
[internals], [rust-zulip], and [rust-discord]. It is recommended to ask for help on
36
-
the [rust-zulip], but any of these platforms are a great way to seek help and even
36
+
the [rust-zulip], but any of these platforms are great ways to seek help and even
37
37
find a mentor! You can learn more about asking questions and getting help in the
38
38
[Asking Questions](https://rustc-dev-guide.rust-lang.org/getting-started.html#asking-questions) chapter of the [rustc-dev-guide].
= help: consider moving `async_dispatch` to another trait
43
43
= note: required for the cast from `Pin<&mut {async block@$DIR/mut-is-pointer-like.rs:32:32: 32:37}>` to `Pin<&mut dyn AsyncTrait<Output = ()>>`
44
44
45
-
error[E0277]: the trait bound `dyn AsyncTrait<Output = ()>: AsyncTrait` is not satisfied
46
-
--> $DIR/mut-is-pointer-like.rs:36:11
47
-
|
48
-
LL | x.async_dispatch().await;
49
-
| ^^^^^^^^^^^^^^ the trait `AsyncTrait` is not implemented for `dyn AsyncTrait<Output = ()>`
50
-
51
-
error[E0038]: the trait `AsyncTrait` is not dyn compatible
52
-
--> $DIR/mut-is-pointer-like.rs:36:9
53
-
|
54
-
LL | x.async_dispatch().await;
55
-
| ^^^^^^^^^^^^^^^^^^ `AsyncTrait` is not dyn compatible
56
-
|
57
-
note: for a trait to be dyn compatible it needs to allow building a vtable
58
-
for more information, visit <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
0 commit comments