Revert "Auto merge of #103880 - b-naber:field-ty-mir, r=lcnr"
This reverts commit03770f0e2b
, reversing changes made to01ef4b21dc
.
This commit is contained in:
parent
4653c93e44
commit
8275d115fb
14 changed files with 100 additions and 434 deletions
|
@ -777,10 +777,10 @@ pub enum TrackElem {
|
|||
Field(Field),
|
||||
}
|
||||
|
||||
impl<V, T1, T2> TryFrom<ProjectionElem<V, T1, T2>> for TrackElem {
|
||||
impl<V, T> TryFrom<ProjectionElem<V, T>> for TrackElem {
|
||||
type Error = ();
|
||||
|
||||
fn try_from(value: ProjectionElem<V, T1, T2>) -> Result<Self, Self::Error> {
|
||||
fn try_from(value: ProjectionElem<V, T>) -> Result<Self, Self::Error> {
|
||||
match value {
|
||||
ProjectionElem::Field(field, _) => Ok(TrackElem::Field(field)),
|
||||
_ => Err(()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue