From dcef5ff372742eb3d8a1b5cbbc2141e757bc33d1 Mon Sep 17 00:00:00 2001 From: Jake Goulding Date: Thu, 19 Nov 2020 15:01:48 -0500 Subject: Bump bootstrap compiler version --- library/std/src/net/ip.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'library/std/src/net') diff --git a/library/std/src/net/ip.rs b/library/std/src/net/ip.rs index bb3ece4c273..04b6f0a5b91 100644 --- a/library/std/src/net/ip.rs +++ b/library/std/src/net/ip.rs @@ -1043,8 +1043,7 @@ impl Ipv6Addr { /// ``` #[stable(feature = "rust1", since = "1.0.0")] #[rustc_const_stable(feature = "const_ipv6", since = "1.32.0")] - #[cfg_attr(not(bootstrap), rustc_allow_const_fn_unstable(const_fn_transmute))] - #[cfg_attr(bootstrap, allow_internal_unstable(const_fn_transmute))] + #[rustc_allow_const_fn_unstable(const_fn_transmute)] pub const fn new(a: u16, b: u16, c: u16, d: u16, e: u16, f: u16, g: u16, h: u16) -> Ipv6Addr { let addr16 = [ a.to_be(), -- cgit 1.4.1-3-g733a5