diff options
| author | bors <bors@rust-lang.org> | 2019-12-11 19:39:06 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-12-11 19:39:06 +0000 |
| commit | 27d6f55f47e8875e71083a28ed84ea5a88e1b596 (patch) | |
| tree | 2f0866ff8e08df5d73b14362a3a4c0d9991dbfd5 /src/libsyntax_pos | |
| parent | 90b957a17c1abba979aa41234ce0993a61030e67 (diff) | |
| parent | 5cd9f22464a3ae2620c384094986d9549eca182e (diff) | |
| download | rust-27d6f55f47e8875e71083a28ed84ea5a88e1b596.tar.gz rust-27d6f55f47e8875e71083a28ed84ea5a88e1b596.zip | |
Auto merge of #65345 - davidtwco:issue-64130-async-send-sync-error-improvements, r=nikomatsakis
async/await: improve not-send errors, part 2 Part of #64130. Fixes #65667. This PR improves the errors introduced in #64895 so that they have specialized messages for `Send` and `Sync`. r? @nikomatsakis
Diffstat (limited to 'src/libsyntax_pos')
| -rw-r--r-- | src/libsyntax_pos/symbol.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsyntax_pos/symbol.rs b/src/libsyntax_pos/symbol.rs index e8f7a125739..92de56bd09a 100644 --- a/src/libsyntax_pos/symbol.rs +++ b/src/libsyntax_pos/symbol.rs @@ -660,6 +660,7 @@ symbols! { _Self, self_in_typedefs, self_struct_ctor, + send_trait, should_panic, simd, simd_extract, @@ -697,6 +698,7 @@ symbols! { sty, sub_with_overflow, suggestion, + sync_trait, target_feature, target_has_atomic, target_has_atomic_load_store, |
