rust/src/libstd
David Wood 04fa9b1b3f
async/await: improve obligation errors
This commit improves obligation errors for async/await:

```
note: future does not implement `std::marker::Send` because this value is used across an
      await
  --> $DIR/issue-64130-non-send-future-diags.rs:15:5
   |
LL |     let g = x.lock().unwrap();
   |         - has type `std::sync::MutexGuard<'_, u32>`
LL |     baz().await;
   |     ^^^^^^^^^^^ await occurs here, with `g` maybe used later
LL | }
   | - `g` is later dropped here
```

Signed-off-by: David Wood <david@davidtw.co>
2019-09-30 23:41:20 +01:00
..
collections Stabilize map_get_key_value feature 2019-09-27 11:21:57 +00:00
ffi Rollup merge of #64203 - alexreg:rush-pr-2, r=centril 2019-09-14 16:42:22 +02:00
io Fix inconsistent link formatting 2019-09-16 20:02:36 +08:00
net VxWorks ignores the SO_SNDTIMEO socket option (this is long-standing 2019-08-22 15:26:52 -07:00
os Handle cfg(bootstrap) throughout 2019-08-14 05:39:53 -04:00
prelude Remove __rust_unstable_column 2019-08-15 22:58:57 +03:00
sync Update sync condvar doc style 2019-08-31 23:09:37 +08:00
sys Rollup merge of #64818 - Wind-River:master, r=alexcrichton 2019-09-28 05:37:51 +02:00
sys_common avoid #[cfg] in favor of cfg! 2019-09-16 16:37:44 +02:00
tests Upgrade rand to 0.7 2019-09-06 14:45:28 +02:00
thread updated the panic message wording 2019-09-16 12:13:02 +08:00
alloc.rs Fix intra-doc link resolution failure on re-exporting libstd 2019-05-04 23:48:57 +09:00
ascii.rs Remove licenses 2018-12-25 21:08:33 -07:00
backtrace.rs rename the crate, not the feature 2019-09-14 12:12:32 +02:00
build.rs rename the crate, not the feature 2019-09-14 12:12:32 +02:00
Cargo.toml Remove unused dependencies 2019-09-23 15:25:00 +09:00
env.rs A few cosmetic improvements to code & comments in liballoc and libcore 2019-09-06 16:02:25 +01:00
error.rs Rollup merge of #64203 - alexreg:rush-pr-2, r=centril 2019-09-14 16:42:22 +02:00
f32.rs Rollup merge of #63698 - Phosphorus15:master, r=nagisa 2019-08-27 08:17:49 +02:00
f64.rs Rollup merge of #63698 - Phosphorus15:master, r=nagisa 2019-08-27 08:17:49 +02:00
fs.rs Rollup merge of #63356 - ali-raheem:issue#63183, r=KodrAus 2019-09-24 23:45:13 +02:00
future.rs async/await: improve obligation errors 2019-09-30 23:41:20 +01:00
keyword_docs.rs Rollup merge of #62957 - dns2utf8:doc_loop_keyword, r=GuillaumeGomez 2019-08-30 23:07:57 +02:00
lib.rs Snap cfgs to new beta 2019-09-25 08:42:46 -04:00
macros.rs Remove __rust_unstable_column 2019-08-15 22:58:57 +03:00
memchr.rs libstd => 2018 2019-02-28 04:06:15 +09:00
num.rs Reexport IntErrorKind in std 2019-04-23 00:15:43 +02:00
panic.rs HashMap is UnwindSafe 2019-07-02 16:01:06 +02:00
panicking.rs avoid #[cfg] in favor of cfg! 2019-09-16 16:37:44 +02:00
path.rs Rollup merge of #61969 - MikailBag:master, r=Centril 2019-08-11 15:18:38 -04:00
primitive_docs.rs Slice docs: fix typo 2019-09-28 21:02:51 +02:00
process.rs Rollup merge of #64294 - wchargin:wchargin-stdio-piped-docs, r=Dylan-DPC 2019-09-23 00:36:33 +02:00
rt.rs rename the crate, not the feature 2019-09-14 12:12:32 +02:00
time.rs Rollup merge of #63846 - DevQps:32626-document-time-system-calls, r=rkruppe 2019-09-14 16:42:19 +02:00