aboutsummaryrefslogtreecommitdiff
path: root/tests/pinned_drop.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pinned_drop.rs')
-rw-r--r--tests/pinned_drop.rs6
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() {}
}