Merge pull request #1685 from mejrs/fix_ui_tests

update error message for rust 1.53
This commit is contained in:
messense 2021-06-20 00:28:39 +08:00 committed by GitHub
commit 64a0391fb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -10,5 +10,9 @@ error[E0277]: `Rc<i32>` cannot be sent between threads safely
| ---- required by this bound in `ThreadCheckerStub` | ---- required by this bound in `ThreadCheckerStub`
| |
= help: within `NotThreadSafe`, the trait `Send` is not implemented for `Rc<i32>` = help: within `NotThreadSafe`, the trait `Send` is not implemented for `Rc<i32>`
= note: required because it appears within the type `NotThreadSafe` note: required because it appears within the type `NotThreadSafe`
--> $DIR/pyclass_send.rs:5:8
|
5 | struct NotThreadSafe {
| ^^^^^^^^^^^^^
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)