From 4f899ce9acb3827cc45fd4a8672372b1ff64b8b2 Mon Sep 17 00:00:00 2001 From: bstrie <865233+bstrie@users.noreply.github.com> Date: Wed, 17 Mar 2021 18:34:44 -0400 Subject: [PATCH] Replace deprecated `collections::Bound` --- src/shims/tls.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shims/tls.rs b/src/shims/tls.rs index ef77949efa..3339e3bee1 100644 --- a/src/shims/tls.rs +++ b/src/shims/tls.rs @@ -174,7 +174,7 @@ impl<'tcx> TlsData<'tcx> { key: Option, thread_id: ThreadId, ) -> Option<(ty::Instance<'tcx>, Scalar, TlsKey)> { - use std::collections::Bound::*; + use std::ops::Bound::*; let thread_local = &mut self.keys; let start = match key {