switch to edition 2024
This commit is contained in:
parent
67e66ac3bd
commit
65f9ab32f4
2 changed files with 21 additions and 10 deletions
|
@ -7,7 +7,7 @@ members = ["crates/*"]
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
version = "0.3.0"
|
version = "0.3.0"
|
||||||
license = "LGPL-3.0-or-later"
|
license = "LGPL-3.0-or-later"
|
||||||
edition = "2021"
|
edition = "2024"
|
||||||
repository = "https://git.libre-chip.org/libre-chip/fayalite"
|
repository = "https://git.libre-chip.org/libre-chip/fayalite"
|
||||||
keywords = ["hdl", "hardware", "semiconductors", "firrtl", "fpga"]
|
keywords = ["hdl", "hardware", "semiconductors", "firrtl", "fpga"]
|
||||||
categories = ["simulation", "development-tools", "compilers"]
|
categories = ["simulation", "development-tools", "compilers"]
|
||||||
|
|
|
@ -3761,7 +3761,10 @@ pub(crate) trait AsTurbofish {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl AsTurbofish for TypeGenerics<'_> {
|
impl AsTurbofish for TypeGenerics<'_> {
|
||||||
type Turbofish<'a> = Turbofish<'a> where Self: 'a;
|
type Turbofish<'a>
|
||||||
|
= Turbofish<'a>
|
||||||
|
where
|
||||||
|
Self: 'a;
|
||||||
|
|
||||||
fn as_turbofish(&self) -> Self::Turbofish<'_> {
|
fn as_turbofish(&self) -> Self::Turbofish<'_> {
|
||||||
TypeGenerics::as_turbofish(self)
|
TypeGenerics::as_turbofish(self)
|
||||||
|
@ -3769,7 +3772,8 @@ impl AsTurbofish for TypeGenerics<'_> {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl AsTurbofish for ParsedGenericsTypeGenerics<'_> {
|
impl AsTurbofish for ParsedGenericsTypeGenerics<'_> {
|
||||||
type Turbofish<'a> = ParsedGenericsTurbofish<'a>
|
type Turbofish<'a>
|
||||||
|
= ParsedGenericsTurbofish<'a>
|
||||||
where
|
where
|
||||||
Self: 'a;
|
Self: 'a;
|
||||||
|
|
||||||
|
@ -3820,15 +3824,18 @@ impl SplitForImpl for Generics {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SplitForImpl for ParsedGenerics {
|
impl SplitForImpl for ParsedGenerics {
|
||||||
type ImplGenerics<'a> = ParsedGenericsImplGenerics<'a>
|
type ImplGenerics<'a>
|
||||||
|
= ParsedGenericsImplGenerics<'a>
|
||||||
where
|
where
|
||||||
Self: 'a;
|
Self: 'a;
|
||||||
|
|
||||||
type TypeGenerics<'a> = ParsedGenericsTypeGenerics<'a>
|
type TypeGenerics<'a>
|
||||||
|
= ParsedGenericsTypeGenerics<'a>
|
||||||
where
|
where
|
||||||
Self: 'a;
|
Self: 'a;
|
||||||
|
|
||||||
type WhereClause<'a> = ParsedGenericsWhereClause<'a>
|
type WhereClause<'a>
|
||||||
|
= ParsedGenericsWhereClause<'a>
|
||||||
where
|
where
|
||||||
Self: 'a;
|
Self: 'a;
|
||||||
|
|
||||||
|
@ -4045,7 +4052,8 @@ impl<P: ToTokens, U: ToTokens> ToTokens for MaybeParsed<P, U> {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<P: AsTurbofish, U: AsTurbofish> AsTurbofish for MaybeParsed<P, U> {
|
impl<P: AsTurbofish, U: AsTurbofish> AsTurbofish for MaybeParsed<P, U> {
|
||||||
type Turbofish<'a> = MaybeParsed<P::Turbofish<'a>, U::Turbofish<'a>>
|
type Turbofish<'a>
|
||||||
|
= MaybeParsed<P::Turbofish<'a>, U::Turbofish<'a>>
|
||||||
where
|
where
|
||||||
Self: 'a;
|
Self: 'a;
|
||||||
|
|
||||||
|
@ -4058,13 +4066,16 @@ impl<P: AsTurbofish, U: AsTurbofish> AsTurbofish for MaybeParsed<P, U> {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<P: SplitForImpl, U: SplitForImpl> SplitForImpl for MaybeParsed<P, U> {
|
impl<P: SplitForImpl, U: SplitForImpl> SplitForImpl for MaybeParsed<P, U> {
|
||||||
type ImplGenerics<'a> = MaybeParsed<P::ImplGenerics<'a>, U::ImplGenerics<'a>>
|
type ImplGenerics<'a>
|
||||||
|
= MaybeParsed<P::ImplGenerics<'a>, U::ImplGenerics<'a>>
|
||||||
where
|
where
|
||||||
Self: 'a;
|
Self: 'a;
|
||||||
type TypeGenerics<'a> = MaybeParsed<P::TypeGenerics<'a>, U::TypeGenerics<'a>>
|
type TypeGenerics<'a>
|
||||||
|
= MaybeParsed<P::TypeGenerics<'a>, U::TypeGenerics<'a>>
|
||||||
where
|
where
|
||||||
Self: 'a;
|
Self: 'a;
|
||||||
type WhereClause<'a> = MaybeParsed<P::WhereClause<'a>, U::WhereClause<'a>>
|
type WhereClause<'a>
|
||||||
|
= MaybeParsed<P::WhereClause<'a>, U::WhereClause<'a>>
|
||||||
where
|
where
|
||||||
Self: 'a;
|
Self: 'a;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue