diff options
author | Haibo Huang <hhb@google.com> | 2020-11-18 15:37:31 -0800 |
---|---|---|
committer | Haibo Huang <hhb@google.com> | 2020-11-18 15:37:31 -0800 |
commit | 6c94c6bafeee5322a4502f48fd53bf0269f144cc (patch) | |
tree | 62e1173064643de076d5710596b3cd6d390f4d00 /tests/pinned_drop.rs | |
parent | cd6b1713c13e53065c66512d3ba0a578bbf22830 (diff) | |
download | pin-project-6c94c6bafeee5322a4502f48fd53bf0269f144cc.tar.gz |
Upgrade rust/crates/pin-project to 1.0.2
Test: make
Change-Id: Ia85e48e7fd669c568d9abc6a68934b8cfdb13f09
Diffstat (limited to 'tests/pinned_drop.rs')
-rw-r--r-- | tests/pinned_drop.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/pinned_drop.rs b/tests/pinned_drop.rs index e369ecb..78b73dc 100644 --- a/tests/pinned_drop.rs +++ b/tests/pinned_drop.rs @@ -201,19 +201,19 @@ fn self_ty_inside_macro_call() { } impl<T: Send> Struct<T> { - const ASSOC1: &'static str = "1"; + const ASSOC1: usize = 1; fn assoc1() {} } trait Trait { type Assoc2; - const ASSOC2: &'static str; + const ASSOC2: usize; fn assoc2(); } impl<T: Send> Trait for Struct<T> { type Assoc2 = (); - const ASSOC2: &'static str = "2"; + const ASSOC2: usize = 2; fn assoc2() {} } |