about summary refs log tree commit diff
path: root/src/librustc_trait_selection/traits/object_safety.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustc_trait_selection/traits/object_safety.rs')
-rw-r--r--src/librustc_trait_selection/traits/object_safety.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_trait_selection/traits/object_safety.rs b/src/librustc_trait_selection/traits/object_safety.rs
index d9a5b68dc1e..3cb250891ef 100644
--- a/src/librustc_trait_selection/traits/object_safety.rs
+++ b/src/librustc_trait_selection/traits/object_safety.rs
@@ -612,7 +612,7 @@ fn receiver_is_dispatchable<'tcx>(
     // FIXME(mikeyhew) this is a total hack. Once object_safe_for_dispatch is stabilized, we can
     // replace this with `dyn Trait`
     let unsized_self_ty: Ty<'tcx> =
-        tcx.mk_ty_param(::std::u32::MAX, Symbol::intern("RustaceansAreAwesome"));
+        tcx.mk_ty_param(u32::MAX, Symbol::intern("RustaceansAreAwesome"));
 
     // `Receiver[Self => U]`
     let unsized_receiver_ty =