Esteban Küber
6d8a173980
Reword E0044 and message for !Send types
...
- Reword E0044 help.
- Change error message for types that don't implement `Send`
2018-03-14 18:04:20 -07:00
Steven Fackler
0f6c01ddb6
Implement Sync for SyncSender
2017-06-02 21:09:09 -07:00
Ariel Ben-Yehuda
b23648fe4a
improve the printing of substs and trait-refs
2016-04-05 22:56:23 +03:00
Ariel Ben-Yehuda
8a461d940c
suggest adding a where-clause when that can help
...
suggest adding a where-clause when there is an unmet trait-bound that
can be satisfied if some type can implement it.
2016-04-05 20:58:58 +03:00
Jeffrey Seyfried
da41e583d6
Fix fallout in tests
2016-03-30 22:00:48 +00:00
Andrew Paseltiner
f522d88237
Explicitly opt out of Sync for cell and mpsc types
...
These types were already `!Sync`, but this improves error messages when
they are used in contexts that require `Sync`, aligning them with
conventions used with `Rc`, among others.
2016-03-01 18:51:46 -05:00