File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ error[E0277]: `PhantomPinned` cannot be unpinned
57
57
note: required because it appears within the type `PhantomData<PhantomPinned>`
58
58
--> $RUST/core/src/marker.rs
59
59
|
60
- | pub struct PhantomData<T: ?Sized >;
60
+ | pub struct PhantomData<T: PointeeSized >;
61
61
| ^^^^^^^^^^^
62
62
note: required because it appears within the type `cxx::private::Opaque`
63
63
--> src/opaque.rs
Original file line number Diff line number Diff line change @@ -2,7 +2,4 @@ error[E0277]: `NonError` doesn't implement `std::fmt::Display`
2
2
--> tests/ui/result_no_display.rs:4:19
3
3
|
4
4
4 | fn f() -> Result<()>;
5
- | ^^^^^^^^^^ `NonError` cannot be formatted with the default formatter
6
- |
7
- = help: the trait `std::fmt::Display` is not implemented for `NonError`
8
- = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
5
+ | ^^^^^^^^^^ the trait `std::fmt::Display` is not implemented for `NonError`
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ note: required because it appears within the type `NotThreadSafe`
20
20
note: required because it appears within the type `PhantomData<[NotThreadSafe]>`
21
21
--> $RUST/core/src/marker.rs
22
22
|
23
- | pub struct PhantomData<T: ?Sized >;
23
+ | pub struct PhantomData<T: PointeeSized >;
24
24
| ^^^^^^^^^^^
25
25
note: required because it appears within the type `CxxVector<NotThreadSafe>`
26
26
--> src/cxx_vector.rs
You can’t perform that action at this time.
0 commit comments