Commit aaa6de7
authored
Add a better error message for rust-lang#39364
There is a known bug in the implementation of mpsc channels in rust.
This adds a clearer error message when the bug occurs, so that developers don't lose too much time looking for the origin of the bug.
See rust-lang#393641 parent fbdff7f commit aaa6de7
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
- library/std/src/sync/mpsc
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
| 251 | + | |
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| |||
0 commit comments