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
5757note: required because it appears within the type `PhantomData<PhantomPinned>`
5858 --> $RUST/core/src/marker.rs
5959 |
60- | pub struct PhantomData<T: ?Sized >;
60+ | pub struct PhantomData<T: PointeeSized >;
6161 | ^^^^^^^^^^^
6262note: required because it appears within the type `cxx::private::Opaque`
6363 --> 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`
22 --> tests/ui/result_no_display.rs:4:19
33 |
444 | 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`
2020note: required because it appears within the type `PhantomData<[NotThreadSafe]>`
2121 --> $RUST/core/src/marker.rs
2222 |
23- | pub struct PhantomData<T: ?Sized >;
23+ | pub struct PhantomData<T: PointeeSized >;
2424 | ^^^^^^^^^^^
2525note: required because it appears within the type `CxxVector<NotThreadSafe>`
2626 --> src/cxx_vector.rs
You can’t perform that action at this time.
0 commit comments