diff options
| author | Yechan Bae <yechan@gatech.edu> | 2021-10-01 14:26:04 -0400 |
|---|---|---|
| committer | Yechan Bae <yechan@gatech.edu> | 2021-10-01 14:26:04 -0400 |
| commit | ef8df9df6811fc6597a40cf4cb853c30e9329206 (patch) | |
| tree | d396d5778d536d4eadd58ada60b1acff3f7b0394 | |
| parent | dfed2e31d5caa0ff7e53b442e8bd3585e78aba09 (diff) | |
| download | rust-ef8df9df6811fc6597a40cf4cb853c30e9329206.tar.gz rust-ef8df9df6811fc6597a40cf4cb853c30e9329206.zip | |
Forgot to bless ui-toml test
| -rw-r--r-- | tests/ui-toml/strict_non_send_field_in_send_ty/test.stderr | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/ui-toml/strict_non_send_field_in_send_ty/test.stderr b/tests/ui-toml/strict_non_send_field_in_send_ty/test.stderr index 093c9320945..74ec93cfa55 100644 --- a/tests/ui-toml/strict_non_send_field_in_send_ty/test.stderr +++ b/tests/ui-toml/strict_non_send_field_in_send_ty/test.stderr @@ -5,7 +5,7 @@ LL | unsafe impl Send for NoGeneric {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D clippy::non-send-field-in-send-ty` implied by `-D warnings` -note: the field `rc_is_not_send` has type `std::rc::Rc<std::string::String>` which is `!Send` +note: the type of field `rc_is_not_send` is `!Send` --> $DIR/test.rs:8:5 | LL | rc_is_not_send: Rc<String>, @@ -18,19 +18,19 @@ error: this implementation is unsound, as some fields in `MultiField<T>` are `!S LL | unsafe impl<T> Send for MultiField<T> {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | -note: the field `field1` has type `T` which is `!Send` +note: the type of field `field1` is `!Send` --> $DIR/test.rs:14:5 | LL | field1: T, | ^^^^^^^^^ = help: add `T: Send` bound in `Send` impl -note: the field `field2` has type `T` which is `!Send` +note: the type of field `field2` is `!Send` --> $DIR/test.rs:15:5 | LL | field2: T, | ^^^^^^^^^ = help: add `T: Send` bound in `Send` impl -note: the field `field3` has type `T` which is `!Send` +note: the type of field `field3` is `!Send` --> $DIR/test.rs:16:5 | LL | field3: T, @@ -43,7 +43,7 @@ error: this implementation is unsound, as some fields in `MyOption<T>` are `!Sen LL | unsafe impl<T> Send for MyOption<T> {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | -note: the field `0` has type `T` which is `!Send` +note: the type of field `0` is `!Send` --> $DIR/test.rs:22:12 | LL | MySome(T), @@ -56,31 +56,31 @@ error: this implementation is unsound, as some fields in `HeuristicTest` are `!S LL | unsafe impl Send for HeuristicTest {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | -note: the field `field1` has type `std::vec::Vec<*const NonSend>` which is `!Send` +note: the type of field `field1` is `!Send` --> $DIR/test.rs:34:5 | LL | field1: Vec<*const NonSend>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: use a thread-safe type that implements `Send` -note: the field `field2` has type `[*const NonSend; 3]` which is `!Send` +note: the type of field `field2` is `!Send` --> $DIR/test.rs:35:5 | LL | field2: [*const NonSend; 3], | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: use a thread-safe type that implements `Send` -note: the field `field3` has type `(*const NonSend, *const NonSend, *const NonSend)` which is `!Send` +note: the type of field `field3` is `!Send` --> $DIR/test.rs:36:5 | LL | field3: (*const NonSend, *const NonSend, *const NonSend), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: use a thread-safe type that implements `Send` -note: the field `field4` has type `(*const NonSend, std::rc::Rc<u8>)` which is `!Send` +note: the type of field `field4` is `!Send` --> $DIR/test.rs:37:5 | LL | field4: (*const NonSend, Rc<u8>), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: use a thread-safe type that implements `Send` -note: the field `field5` has type `std::vec::Vec<std::vec::Vec<*const NonSend>>` which is `!Send` +note: the type of field `field5` is `!Send` --> $DIR/test.rs:38:5 | LL | field5: Vec<Vec<*const NonSend>>, |
