Skip to content

Commit 534d23d

Browse files
committed
update lib
1 parent 63194da commit 534d23d

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ syn = { version = "1.0.109", features = [
3333
"extra-traits",
3434
] }
3535
trybuild = "1.0.79"
36+
time = "0.3.35"
3637

3738

3839
[features]

src/dispatch/blueprint.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ struct MonomorphizeFnSignature<'poly>(&'poly BTreeMap<Ident, &'poly Type>);
105105
/// |
106106
/// This one already gets replace during polymophic mapping step.
107107
/// ```
108+
#[allow(dead_code)]
108109
struct MonomorphizeTraitBound<'poly>(&'poly BTreeMap<Ident, &'poly Type>);
109110

110111
///

src/factory/pattern/boilerplate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ impl<'a> IntoIterator for &'a PatComposite {
4545
fn into_iter(self) -> Self::IntoIter {
4646
self.iter()
4747
}
48-
}
48+
}

src/penum.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,9 @@ pub trait TraitBoundUtils {
465465
pub trait TypeUtils {
466466
fn is_generic(&self) -> bool;
467467
fn is_placeholder(&self) -> bool;
468+
#[allow(dead_code)]
468469
fn some_generic(&self) -> Option<String>;
470+
#[allow(dead_code)]
469471
fn get_generic_ident(&self) -> Ident;
470472
fn get_unique_id(&self) -> UniqueHashId<Type>;
471473
fn get_type_impl_trait(&self) -> Option<&TypeImplTrait>;

0 commit comments

Comments
 (0)