diff options
| author | Esteban Kuber <esteban@kuber.com.ar> | 2021-10-14 17:57:39 +0000 |
|---|---|---|
| committer | Esteban Kuber <esteban@kuber.com.ar> | 2021-10-24 20:45:33 +0000 |
| commit | 6dcff4e9f6badd8b7daf24c52d80dd6b89d12f4a (patch) | |
| tree | 140ee021feeb40997c275162ff4c4205131e784f /src/test/rustdoc-ui/coverage/enum-tuple.rs | |
| parent | ed08a67566d7d1d9dd2ad928ff21c23e841a4345 (diff) | |
| download | rust-6dcff4e9f6badd8b7daf24c52d80dd6b89d12f4a.tar.gz rust-6dcff4e9f6badd8b7daf24c52d80dd6b89d12f4a.zip | |
Use the "nice E0277 errors"[1] for `!Send` `impl Future` from foreign crate
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. [1]: https://blog.rust-lang.org/inside-rust/2019/10/11/AsyncAwait-Not-Send-Error-Improvements.html
Diffstat (limited to 'src/test/rustdoc-ui/coverage/enum-tuple.rs')
0 files changed, 0 insertions, 0 deletions
