![](/style/images/good.png)
![](/style/images/bad.png)
Use the "nice E0277 errors"[1] for `!Send` `impl Future` from foreign...
source link: https://github.com/rust-lang/rust/pull/89889
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Partly address #78543 by making the error quieter.
We don't have access to the typeck
tables from foreign crates, so we
used to completely skip the new code when checking foreign crates. Now,
we carry on and don't provide as nice output (we don't clarify what is
making the Future: !Send
), but at least we no longer emit a sea of
derived obligations in the output.
r? @tmandry
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK