Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stabilize const for integer {to,from}_{be,le,ne}_bytes methods #69373

Merged
merged 2 commits into from
Mar 11, 2020

Conversation

tspiteri
Copy link
Contributor

All of these functions can be implemented simply and naturally as const functions, e.g. u32::from_le_bytes can be implemented as

(bytes[0] as u32)
    | (bytes[1] as u32) << 8
    | (bytes[2] as u32) << 16
    | (bytes[3] as u32) << 24

So stabilizing the constness will not expose that internally they are implemented using transmute which is not const in stable.

@rust-highfive
Copy link
Collaborator

r? @kennytm

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 22, 2020
@jonas-schievink jonas-schievink added relnotes Marks issues that should be documented in the release notes of the next release. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. labels Feb 22, 2020
@jonas-schievink jonas-schievink added this to the 1.43 milestone Feb 22, 2020
@rust-highfive
Copy link
Collaborator

The job mingw-check of your PR failed (pretty log, raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
2020-02-22T12:19:50.1307040Z ========================== Starting Command Output ===========================
2020-02-22T12:19:50.1314109Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/83441b1f-4b91-446a-91b0-159099627d88.sh
2020-02-22T12:19:50.1314625Z 
2020-02-22T12:19:50.1318819Z ##[section]Finishing: Disable git automatic line ending conversion
2020-02-22T12:19:50.1339515Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/69373/merge to s
2020-02-22T12:19:50.1343233Z Task         : Get sources
2020-02-22T12:19:50.1343559Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-02-22T12:19:50.1343879Z Version      : 1.0.0
2020-02-22T12:19:50.1344112Z Author       : Microsoft
---
2020-02-22T12:19:51.7500873Z ##[command]git remote add origin https://github.com/rust-lang/rust
2020-02-22T12:19:51.7508137Z ##[command]git config gc.auto 0
2020-02-22T12:19:51.7511839Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2020-02-22T12:19:51.7515462Z ##[command]git config --get-all http.proxy
2020-02-22T12:19:51.7524196Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/69373/merge:refs/remotes/pull/69373/merge
---
2020-02-22T12:24:48.5220683Z     Checking core v0.0.0 (/checkout/src/libcore)
2020-02-22T12:24:52.4657155Z error[E0541]: unknown meta item 'issue'
2020-02-22T12:24:52.4658536Z     --> src/libcore/num/mod.rs:2218:68
2020-02-22T12:24:52.4659548Z      |
2020-02-22T12:24:52.4662137Z 256  | / macro_rules! int_impl {
2020-02-22T12:24:52.4663462Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:24:52.4664869Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:24:52.4666047Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:24:52.4668288Z 2218 | |             #[rustc_const_stable(feature = "const_int_conversion", issue = "1.43.0")]
2020-02-22T12:24:52.4670023Z      | |                                                                    ^^^^^^^^^^^^^^^^ expected one of `since`, `note`
2020-02-22T12:24:52.4670896Z ...    |
2020-02-22T12:24:52.4672481Z 2370 | |     }
2020-02-22T12:24:52.4672481Z 2370 | |     }
2020-02-22T12:24:52.4673346Z 2371 | | }
2020-02-22T12:24:52.4674542Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:24:52.4675204Z ...
2020-02-22T12:24:52.4676411Z 2375 | /     int_impl! { i8, i8, u8, 8, -128, 127, "", "", 2, "-0x7e", "0xa", "0x12", "0x12", "0x48",
2020-02-22T12:24:52.4677476Z 2376 | |     "[0x12]", "[0x12]", "", "" }
2020-02-22T12:24:52.4678765Z 
2020-02-22T12:24:52.5375365Z error[E0541]: unknown meta item 'issue'
2020-02-22T12:24:52.5376059Z     --> src/libcore/num/mod.rs:2253:68
2020-02-22T12:24:52.5376594Z      |
2020-02-22T12:24:52.5376594Z      |
2020-02-22T12:24:52.5377279Z 256  | / macro_rules! int_impl {
2020-02-22T12:24:52.5378382Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:24:52.5379715Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:24:52.5380893Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:24:52.5382540Z 2253 | |             #[rustc_const_stable(feature = "const_int_conversion", issue = "1.43.0")]
2020-02-22T12:24:52.5384011Z      | |                                                                    ^^^^^^^^^^^^^^^^ expected one of `since`, `note`
2020-02-22T12:24:52.5384873Z ...    |
2020-02-22T12:24:52.5385527Z 2370 | |     }
2020-02-22T12:24:52.5385527Z 2370 | |     }
2020-02-22T12:24:52.5386387Z 2371 | | }
2020-02-22T12:24:52.5387226Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:24:52.5387778Z ...
2020-02-22T12:24:52.5392395Z 2375 | /     int_impl! { i8, i8, u8, 8, -128, 127, "", "", 2, "-0x7e", "0xa", "0x12", "0x12", "0x48",
2020-02-22T12:24:52.5393725Z 2376 | |     "[0x12]", "[0x12]", "", "" }
2020-02-22T12:24:52.5395015Z 
2020-02-22T12:24:52.6137974Z error[E0541]: unknown meta item 'issue'
2020-02-22T12:24:52.6138701Z     --> src/libcore/num/mod.rs:2287:68
2020-02-22T12:24:52.6139242Z      |
2020-02-22T12:24:52.6139242Z      |
2020-02-22T12:24:52.6139897Z 256  | / macro_rules! int_impl {
2020-02-22T12:24:52.6140984Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:24:52.6143153Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:24:52.6144350Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:24:52.6146005Z 2287 | |             #[rustc_const_stable(feature = "const_int_conversion", issue = "1.43.0")]
2020-02-22T12:24:52.6147204Z      | |                                                                    ^^^^^^^^^^^^^^^^ expected one of `since`, `note`
2020-02-22T12:24:52.6148050Z ...    |
2020-02-22T12:24:52.6148715Z 2370 | |     }
2020-02-22T12:24:52.6148715Z 2370 | |     }
2020-02-22T12:24:52.6149434Z 2371 | | }
2020-02-22T12:24:52.6150205Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:24:52.6150765Z ...
2020-02-22T12:24:52.6151581Z 2375 | /     int_impl! { i8, i8, u8, 8, -128, 127, "", "", 2, "-0x7e", "0xa", "0x12", "0x12", "0x48",
2020-02-22T12:24:52.6152551Z 2376 | |     "[0x12]", "[0x12]", "", "" }
2020-02-22T12:24:52.6153997Z 
2020-02-22T12:24:52.6862822Z error[E0541]: unknown meta item 'issue'
2020-02-22T12:24:52.6863522Z     --> src/libcore/num/mod.rs:2320:68
2020-02-22T12:24:52.6864022Z      |
2020-02-22T12:24:52.6864022Z      |
2020-02-22T12:24:52.6864864Z 256  | / macro_rules! int_impl {
2020-02-22T12:24:52.6865999Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:24:52.6867316Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:24:52.6868505Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:24:52.6873285Z 2320 | |             #[rustc_const_stable(feature = "const_int_conversion", issue = "1.43.0")]
2020-02-22T12:24:52.6874580Z      | |                                                                    ^^^^^^^^^^^^^^^^ expected one of `since`, `note`
2020-02-22T12:24:52.6875440Z ...    |
2020-02-22T12:24:52.6876082Z 2370 | |     }
2020-02-22T12:24:52.6876082Z 2370 | |     }
2020-02-22T12:24:52.6876795Z 2371 | | }
2020-02-22T12:24:52.6877572Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:24:52.6878116Z ...
2020-02-22T12:24:52.6878925Z 2375 | /     int_impl! { i8, i8, u8, 8, -128, 127, "", "", 2, "-0x7e", "0xa", "0x12", "0x12", "0x48",
2020-02-22T12:24:52.6880062Z 2376 | |     "[0x12]", "[0x12]", "", "" }
2020-02-22T12:24:52.6881337Z 
2020-02-22T12:24:52.7579113Z error[E0541]: unknown meta item 'issue'
2020-02-22T12:24:52.7579877Z     --> src/libcore/num/mod.rs:2363:68
2020-02-22T12:24:52.7580419Z      |
2020-02-22T12:24:52.7580419Z      |
2020-02-22T12:24:52.7581090Z 256  | / macro_rules! int_impl {
2020-02-22T12:24:52.7582291Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:24:52.7583553Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:24:52.7584835Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:24:52.7586688Z 2363 | |             #[rustc_const_stable(feature = "const_int_conversion", issue = "1.43.0")]
2020-02-22T12:24:52.7587895Z      | |                                                                    ^^^^^^^^^^^^^^^^ expected one of `since`, `note`
2020-02-22T12:24:52.7588728Z ...    |
2020-02-22T12:24:52.7589457Z 2370 | |     }
2020-02-22T12:24:52.7589457Z 2370 | |     }
2020-02-22T12:24:52.7590196Z 2371 | | }
2020-02-22T12:24:52.7590981Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:24:52.7591530Z ...
2020-02-22T12:24:52.7592369Z 2375 | /     int_impl! { i8, i8, u8, 8, -128, 127, "", "", 2, "-0x7e", "0xa", "0x12", "0x12", "0x48",
2020-02-22T12:24:52.7593325Z 2376 | |     "[0x12]", "[0x12]", "", "" }
2020-02-22T12:24:52.7594579Z 
2020-02-22T12:24:53.8274056Z error[E0541]: unknown meta item 'issue'
2020-02-22T12:24:53.8281883Z     --> src/libcore/num/mod.rs:2218:68
2020-02-22T12:24:53.8282831Z      |
2020-02-22T12:24:53.8282831Z      |
2020-02-22T12:24:53.8283716Z 256  | / macro_rules! int_impl {
2020-02-22T12:24:53.8285123Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:24:53.8286817Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:24:53.8288318Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:24:53.8289955Z 2218 | |             #[rustc_const_stable(feature = "const_int_conversion", issue = "1.43.0")]
2020-02-22T12:24:53.8291191Z      | |                                                                    ^^^^^^^^^^^^^^^^ expected one of `since`, `note`
2020-02-22T12:24:53.8291987Z ...    |
2020-02-22T12:24:53.8292729Z 2370 | |     }
2020-02-22T12:24:53.8292729Z 2370 | |     }
2020-02-22T12:24:53.8293441Z 2371 | | }
2020-02-22T12:24:53.8294195Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:24:53.8294741Z ...
2020-02-22T12:24:53.8295678Z 2381 | /     int_impl! { i16, i16, u16, 16, -32768, 32767, "", "", 4, "-0x5ffd", "0x3a", "0x1234", "0x3412",
2020-02-22T12:24:53.8297015Z 2382 | |     "0x2c48", "[0x34, 0x12]", "[0x12, 0x34]", "", "" }
2020-02-22T12:24:53.8298616Z 
2020-02-22T12:24:53.8299088Z error[E0541]: unknown meta item 'issue'
2020-02-22T12:24:53.8299835Z     --> src/libcore/num/mod.rs:2253:68
2020-02-22T12:24:53.8300489Z      |
2020-02-22T12:24:53.8300489Z      |
2020-02-22T12:24:53.8301124Z 256  | / macro_rules! int_impl {
2020-02-22T12:24:53.8302427Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:24:53.8303697Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:24:53.8304942Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:24:53.8306761Z 2253 | |             #[rustc_const_stable(feature = "const_int_conversion", issue = "1.43.0")]
2020-02-22T12:24:53.8308064Z      | |                                                                    ^^^^^^^^^^^^^^^^ expected one of `since`, `note`
2020-02-22T12:24:53.8308939Z ...    |
2020-02-22T12:24:53.8309608Z 2370 | |     }
2020-02-22T12:24:53.8309608Z 2370 | |     }
2020-02-22T12:24:53.8310557Z 2371 | | }
2020-02-22T12:24:53.8311337Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:24:53.8311905Z ...
2020-02-22T12:24:53.8312769Z 2381 | /     int_impl! { i16, i16, u16, 16, -32768, 32767, "", "", 4, "-0x5ffd", "0x3a", "0x1234", "0x3412",
2020-02-22T12:24:53.8313806Z 2382 | |     "0x2c48", "[0x34, 0x12]", "[0x12, 0x34]", "", "" }
2020-02-22T12:24:53.8315228Z 
2020-02-22T12:24:53.8315805Z error[E0541]: unknown meta item 'issue'
2020-02-22T12:24:53.8316528Z     --> src/libcore/num/mod.rs:2287:68
2020-02-22T12:24:53.8316991Z      |
2020-02-22T12:24:53.8316991Z      |
2020-02-22T12:24:53.8317715Z 256  | / macro_rules! int_impl {
2020-02-22T12:24:53.8318791Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:24:53.8320202Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:24:53.8321618Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:24:53.8323277Z 2287 | |             #[rustc_const_stable(feature = "const_int_conversion", issue = "1.43.0")]
2020-02-22T12:24:53.8324583Z      | |                                                                    ^^^^^^^^^^^^^^^^ expected one of `since`, `note`
2020-02-22T12:24:53.8325556Z ...    |
2020-02-22T12:24:53.8326314Z 2370 | |     }
2020-02-22T12:24:53.8326314Z 2370 | |     }
2020-02-22T12:24:53.8327009Z 2371 | | }
2020-02-22T12:24:53.8327892Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:24:53.8328460Z ...
2020-02-22T12:24:53.8329315Z 2381 | /     int_impl! { i16, i16, u16, 16, -32768, 32767, "", "", 4, "-0x5ffd", "0x3a", "0x1234", "0x3412",
2020-02-22T12:24:53.8330357Z 2382 | |     "0x2c48", "[0x34, 0x12]", "[0x12, 0x34]", "", "" }
2020-02-22T12:24:53.8331774Z 
2020-02-22T12:24:53.8332243Z error[E0541]: unknown meta item 'issue'
2020-02-22T12:24:53.8332887Z     --> src/libcore/num/mod.rs:2320:68
2020-02-22T12:24:53.8333380Z      |
2020-02-22T12:24:53.8333380Z      |
2020-02-22T12:24:53.8334035Z 256  | / macro_rules! int_impl {
2020-02-22T12:24:53.8335148Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:24:53.8336545Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:24:53.8337786Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:24:53.8339468Z 2320 | |             #[rustc_const_stable(feature = "const_int_conversion", issue = "1.43.0")]
2020-02-22T12:24:53.8340663Z      | |                                                                    ^^^^^^^^^^^^^^^^ expected one of `since`, `note`
2020-02-22T12:24:53.8341566Z ...    |
2020-02-22T12:24:53.8342192Z 2370 | |     }
2020-02-22T12:24:53.8342192Z 2370 | |     }
2020-02-22T12:24:53.8342867Z 2371 | | }
2020-02-22T12:24:53.8343731Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:24:53.8344391Z ...
2020-02-22T12:24:53.8345218Z 2381 | /     int_impl! { i16, i16, u16, 16, -32768, 32767, "", "", 4, "-0x5ffd", "0x3a", "0x1234", "0x3412",
2020-02-22T12:24:53.8346350Z 2382 | |     "0x2c48", "[0x34, 0x12]", "[0x12, 0x34]", "", "" }
2020-02-22T12:24:53.8347728Z 
2020-02-22T12:24:53.8348336Z error[E0541]: unknown meta item 'issue'
2020-02-22T12:24:53.8348938Z     --> src/libcore/num/mod.rs:2363:68
2020-02-22T12:24:53.8349415Z      |
2020-02-22T12:24:53.8349415Z      |
2020-02-22T12:24:53.8350061Z 256  | / macro_rules! int_impl {
2020-02-22T12:24:53.8351286Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:24:53.8352587Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:24:53.8353778Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:24:53.8355485Z 2363 | |             #[rustc_const_stable(feature = "const_int_conversion", issue = "1.43.0")]
2020-02-22T12:24:53.8356821Z      | |                                                                    ^^^^^^^^^^^^^^^^ expected one of `since`, `note`
2020-02-22T12:24:53.8357658Z ...    |
2020-02-22T12:24:53.8358327Z 2370 | |     }
2020-02-22T12:24:53.8358327Z 2370 | |     }
2020-02-22T12:24:53.8359049Z 2371 | | }
2020-02-22T12:24:53.8400408Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:24:53.8404416Z ...
2020-02-22T12:24:53.8405332Z 2381 | /     int_impl! { i16, i16, u16, 16, -32768, 32767, "", "", 4, "-0x5ffd", "0x3a", "0x1234", "0x3412",
2020-02-22T12:24:53.8406547Z 2382 | |     "0x2c48", "[0x34, 0x12]", "[0x12, 0x34]", "", "" }
2020-02-22T12:24:53.8407988Z 
2020-02-22T12:24:53.8408483Z error[E0541]: unknown meta item 'issue'
2020-02-22T12:24:53.8409347Z     --> src/libcore/num/mod.rs:2218:68
2020-02-22T12:24:53.8409853Z      |
2020-02-22T12:24:53.8409853Z      |
2020-02-22T12:24:53.8410531Z 256  | / macro_rules! int_impl {
2020-02-22T12:24:53.8411707Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:24:53.8413262Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:24:53.8414947Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:24:53.8421091Z 2218 | |             #[rustc_const_stable(feature = "const_int_conversion", issue = "1.43.0")]
2020-02-22T12:24:53.8422774Z      | |                                                                    ^^^^^^^^^^^^^^^^ expected one of `since`, `note`
2020-02-22T12:24:53.8426722Z ...    |
2020-02-22T12:24:53.8427416Z 2370 | |     }
2020-02-22T12:24:53.8427416Z 2370 | |     }
2020-02-22T12:24:53.8428349Z 2371 | | }
2020-02-22T12:24:53.8429202Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:24:53.8429756Z ...
2020-02-22T12:24:53.8430608Z 2387 | /     int_impl! { i32, i32, u32, 32, -2147483648, 2147483647, "", "", 8, "0x10000b3", "0xb301",
2020-02-22T12:24:53.8431716Z 2388 | |     "0x12345678", "0x78563412", "0x1e6a2c48", "[0x78, 0x56, 0x34, 0x12]",
2020-02-22T12:24:53.8432679Z 2389 | |     "[0x12, 0x34, 0x56, 0x78]", "", "" }
2020-02-22T12:24:53.8434010Z 
2020-02-22T12:24:53.8434696Z error[E0541]: unknown meta item 'issue'
2020-02-22T12:24:53.8435301Z     --> src/libcore/num/mod.rs:2253:68
2020-02-22T12:24:53.8435813Z      |
2020-02-22T12:24:53.8435813Z      |
2020-02-22T12:24:53.8436470Z 256  | / macro_rules! int_impl {
2020-02-22T12:24:53.8437655Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:24:53.8438941Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:24:53.8440587Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:24:53.8442203Z 2253 | |             #[rustc_const_stable(feature = "const_int_conversion", issue = "1.43.0")]
2020-02-22T12:24:53.8443498Z      | |                                                                    ^^^^^^^^^^^^^^^^ expected one of `since`, `note`
2020-02-22T12:24:53.8444284Z ...    |
2020-02-22T12:24:53.8445190Z 2370 | |     }
2020-02-22T12:24:53.8445190Z 2370 | |     }
2020-02-22T12:24:53.8445904Z 2371 | | }
2020-02-22T12:24:53.8446653Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:24:53.8447179Z ...
2020-02-22T12:24:53.8448196Z 2387 | /     int_impl! { i32, i32, u32, 32, -2147483648, 2147483647, "", "", 8, "0x10000b3", "0xb301",
2020-02-22T12:24:53.8449241Z 2388 | |     "0x12345678", "0x78563412", "0x1e6a2c48", "[0x78, 0x56, 0x34, 0x12]",
2020-02-22T12:24:53.8450411Z 2389 | |     "[0x12, 0x34, 0x56, 0x78]", "", "" }
2020-02-22T12:24:53.8451735Z 
2020-02-22T12:24:53.8452223Z error[E0541]: unknown meta item 'issue'
2020-02-22T12:24:53.8452950Z     --> src/libcore/num/mod.rs:2287:68
2020-02-22T12:24:53.8453430Z      |
2020-02-22T12:24:53.8453430Z      |
2020-02-22T12:24:53.8454082Z 256  | / macro_rules! int_impl {
2020-02-22T12:24:53.8455370Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:24:53.8456626Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:24:53.8457901Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:24:53.8459555Z 2287 | |             #[rustc_const_stable(feature = "const_int_conversion", issue = "1.43.0")]
2020-02-22T12:24:53.8460892Z      | |                                                                    ^^^^^^^^^^^^^^^^ expected one of `since`, `note`
2020-02-22T12:24:53.8461729Z ...    |
2020-02-22T12:24:53.8462397Z 2370 | |     }
2020-02-22T12:24:53.8462397Z 2370 | |     }
2020-02-22T12:24:53.8463122Z 2371 | | }
2020-02-22T12:24:53.8464001Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:24:53.8464669Z ...
2020-02-22T12:24:53.8465717Z 2387 | /     int_impl! { i32, i32, u32, 32, -2147483648, 2147483647, "", "", 8, "0x10000b3", "0xb301",
2020-02-22T12:24:53.8466818Z 2388 | |     "0x12345678", "0x78563412", "0x1e6a2c48", "[0x78, 0x56, 0x34, 0x12]",
2020-02-22T12:24:53.8467769Z 2389 | |     "[0x12, 0x34, 0x56, 0x78]", "", "" }
2020-02-22T12:24:53.8469279Z 
2020-02-22T12:24:53.8469732Z error[E0541]: unknown meta item 'issue'
2020-02-22T12:24:53.8470456Z     --> src/libcore/num/mod.rs:2320:68
2020-02-22T12:24:53.8470972Z      |
2020-02-22T12:24:53.8470972Z      |
2020-02-22T12:24:53.8471700Z 256  | / macro_rules! int_impl {
2020-02-22T12:24:53.8472826Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:24:53.8474152Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:24:53.8475535Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:24:53.8477181Z 2320 | |             #[rustc_const_stable(feature = "const_int_conversion", issue = "1.43.0")]
2020-02-22T12:24:53.8478600Z      | |                                                                    ^^^^^^^^^^^^^^^^ expected one of `since`, `note`
2020-02-22T12:24:53.8479400Z ...    |
2020-02-22T12:24:53.8480160Z 2370 | |     }
2020-02-22T12:24:53.8480160Z 2370 | |     }
2020-02-22T12:24:53.8481118Z 2371 | | }
2020-02-22T12:24:53.8481899Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:24:53.8482445Z ...
2020-02-22T12:24:53.8483403Z 2387 | /     int_impl! { i32, i32, u32, 32, -2147483648, 2147483647, "", "", 8, "0x10000b3", "0xb301",
2020-02-22T12:24:53.8484568Z 2388 | |     "0x12345678", "0x78563412", "0x1e6a2c48", "[0x78, 0x56, 0x34, 0x12]",
2020-02-22T12:24:53.8485521Z 2389 | |     "[0x12, 0x34, 0x56, 0x78]", "", "" }
2020-02-22T12:24:53.8486855Z 
2020-02-22T12:24:53.8487320Z error[E0541]: unknown meta item 'issue'
2020-02-22T12:24:53.8487956Z     --> src/libcore/num/mod.rs:2363:68
2020-02-22T12:24:53.8488451Z      |
2020-02-22T12:24:53.8488451Z      |
2020-02-22T12:24:53.8489107Z 256  | / macro_rules! int_impl {
2020-02-22T12:24:53.8490222Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:24:53.8491527Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:24:53.8492852Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:24:53.8494474Z 2363 | |             #[rustc_const_stable(feature = "const_int_conversion", issue = "1.43.0")]
2020-02-22T12:24:53.8495786Z      | |                                                                    ^^^^^^^^^^^^^^^^ expected one of `since`, `note`
2020-02-22T12:24:53.8496658Z ...    |
2020-02-22T12:24:53.8497330Z 2370 | |     }
2020-02-22T12:24:53.8497330Z 2370 | |     }
2020-02-22T12:24:53.8498050Z 2371 | | }
2020-02-22T12:24:53.8498837Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:24:53.8499401Z ...
2020-02-22T12:24:53.8500238Z 2387 | /     int_impl! { i32, i32, u32, 32, -2147483648, 2147483647, "", "", 8, "0x10000b3", "0xb301",
2020-02-22T12:24:53.8501416Z 2388 | |     "0x12345678", "0x78563412", "0x1e6a2c48", "[0x78, 0x56, 0x34, 0x12]",
2020-02-22T12:24:53.8502375Z 2389 | |     "[0x12, 0x34, 0x56, 0x78]", "", "" }
2020-02-22T12:24:53.8503710Z 
2020-02-22T12:24:53.8504179Z error[E0541]: unknown meta item 'issue'
2020-02-22T12:24:53.8504796Z     --> src/libcore/num/mod.rs:2218:68
2020-02-22T12:24:53.8505309Z      |
2020-02-22T12:24:53.8505309Z      |
2020-02-22T12:24:53.8505965Z 256  | / macro_rules! int_impl {
2020-02-22T12:24:53.8507055Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:24:53.8508379Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:24:53.8509545Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:24:53.8511188Z 2218 | |             #[rustc_const_stable(feature = "const_int_conversion", issue = "1.43.0")]
2020-02-22T12:24:53.8512408Z      | |                                                                    ^^^^^^^^^^^^^^^^ expected one of `since`, `note`
2020-02-22T12:24:53.8513267Z ...    |
2020-02-22T12:24:53.8513918Z 2370 | |     }
2020-02-22T12:24:53.8513918Z 2370 | |     }
2020-02-22T12:24:53.8514635Z 2371 | | }
2020-02-22T12:24:53.8515564Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:24:53.8516114Z ...
2020-02-22T12:24:53.8516935Z 2394 | /     int_impl! { i64, i64, u64, 64, -9223372036854775808, 9223372036854775807, "", "", 12,
2020-02-22T12:24:53.8518131Z 2395 | |     "0xaa00000000006e1", "0x6e10aa", "0x1234567890123456", "0x5634129078563412",
2020-02-22T12:24:53.8519242Z 2396 | |     "0x6a2c48091e6a2c48", "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]",
2020-02-22T12:24:53.8520439Z 2397 | |     "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]", "", "" }
2020-02-22T12:24:53.8521920Z 
2020-02-22T12:24:53.8522403Z error[E0541]: unknown meta item 'issue'
2020-02-22T12:24:53.8523025Z     --> src/libcore/num/mod.rs:2253:68
2020-02-22T12:24:53.8523523Z      |
2020-02-22T12:24:53.8523523Z      |
2020-02-22T12:24:53.8524198Z 256  | / macro_rules! int_impl {
2020-02-22T12:24:53.8525293Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:24:53.8526597Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:24:53.8527789Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:24:53.8529427Z 2253 | |             #[rustc_const_stable(feature = "const_int_conversion", issue = "1.43.0")]
2020-02-22T12:24:53.8530653Z      | |                                                                    ^^^^^^^^^^^^^^^^ expected one of `since`, `note`
2020-02-22T12:24:53.8531491Z ...    |
2020-02-22T12:24:53.8532157Z 2370 | |     }
2020-02-22T12:24:53.8532157Z 2370 | |     }
2020-02-22T12:24:53.8532880Z 2371 | | }
2020-02-22T12:24:53.8533671Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:24:53.8534215Z ...
2020-02-22T12:24:53.8535038Z 2394 | /     int_impl! { i64, i64, u64, 64, -9223372036854775808, 9223372036854775807, "", "", 12,
2020-02-22T12:24:53.8536155Z 2395 | |     "0xaa00000000006e1", "0x6e10aa", "0x1234567890123456", "0x5634129078563412",
2020-02-22T12:24:53.8537228Z 2396 | |     "0x6a2c48091e6a2c48", "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]",
2020-02-22T12:24:53.8538386Z 2397 | |     "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]", "", "" }
2020-02-22T12:24:53.8539863Z 
2020-02-22T12:24:53.8540331Z error[E0541]: unknown meta item 'issue'
2020-02-22T12:24:53.8541041Z     --> src/libcore/num/mod.rs:2287:68
2020-02-22T12:24:53.8541571Z      |
2020-02-22T12:24:53.8541571Z      |
2020-02-22T12:24:53.8542225Z 256  | / macro_rules! int_impl {
2020-02-22T12:24:53.8543338Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:24:53.8544648Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:24:53.8545832Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:24:53.8547461Z 2287 | |             #[rustc_const_stable(feature = "const_int_conversion", issue = "1.43.0")]
2020-02-22T12:24:53.8548778Z      | |                                                                    ^^^^^^^^^^^^^^^^ expected one of `since`, `note`
2020-02-22T12:24:53.8549626Z ...    |
2020-02-22T12:24:53.8550296Z 2370 | |     }
2020-02-22T12:24:53.8550296Z 2370 | |     }
2020-02-22T12:24:53.8551011Z 2371 | | }
2020-02-22T12:24:53.8551786Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:24:53.8552349Z ...
2020-02-22T12:24:53.8553175Z 2394 | /     int_impl! { i64, i64, u64, 64, -9223372036854775808, 9223372036854775807, "", "", 12,
2020-02-22T12:24:53.8554287Z 2395 | |     "0xaa00000000006e1", "0x6e10aa", "0x1234567890123456", "0x5634129078563412",
2020-02-22T12:24:53.8555366Z 2396 | |     "0x6a2c48091e6a2c48", "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]",
2020-02-22T12:24:53.8556390Z 2397 | |     "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]", "", "" }
2020-02-22T12:24:53.8558055Z 
2020-02-22T12:24:53.8558648Z error[E0541]: unknown meta item 'issue'
2020-02-22T12:24:53.8559272Z     --> src/libcore/num/mod.rs:2320:68
2020-02-22T12:24:53.8600349Z      |
2020-02-22T12:24:53.8600349Z      |
2020-02-22T12:24:53.8601269Z 256  | / macro_rules! int_impl {
2020-02-22T12:24:53.8602864Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:24:53.8604469Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:24:53.8606139Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:24:53.8607994Z 2320 | |             #[rustc_const_stable(feature = "const_int_conversion", issue = "1.43.0")]
2020-02-22T12:24:53.8609324Z      | |                                                                    ^^^^^^^^^^^^^^^^ expected one of `since`, `note`
2020-02-22T12:24:53.8610150Z ...    |
2020-02-22T12:24:53.8611009Z 2370 | |     }
2020-02-22T12:24:53.8611009Z 2370 | |     }
2020-02-22T12:24:53.8611711Z 2371 | | }
2020-02-22T12:24:53.8612445Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:24:53.8613147Z ...
2020-02-22T12:24:53.8613952Z 2394 | /     int_impl! { i64, i64, u64, 64, -9223372036854775808, 9223372036854775807, "", "", 12,
2020-02-22T12:24:53.8615008Z 2395 | |     "0xaa00000000006e1", "0x6e10aa", "0x1234567890123456", "0x5634129078563412",
2020-02-22T12:24:53.8616218Z 2396 | |     "0x6a2c48091e6a2c48", "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]",
2020-02-22T12:24:53.8617175Z 2397 | |     "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]", "", "" }
2020-02-22T12:24:53.8618745Z 
2020-02-22T12:24:53.9094593Z error[E0541]: unknown meta item 'issue'
2020-02-22T12:24:53.9095727Z     --> src/libcore/num/mod.rs:2363:68
2020-02-22T12:24:53.9096642Z      |
2020-02-22T12:24:53.9096642Z      |
2020-02-22T12:24:53.9097750Z 256  | / macro_rules! int_impl {
2020-02-22T12:24:53.9099234Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:24:53.9102703Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:24:53.9104460Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:24:53.9106800Z 2363 | |             #[rustc_const_stable(feature = "const_int_conversion", issue = "1.43.0")]
2020-02-22T12:24:53.9108541Z      | |                                                                    ^^^^^^^^^^^^^^^^ expected one of `since`, `note`
2020-02-22T12:24:53.9109735Z ...    |
2020-02-22T12:24:53.9110528Z 2370 | |     }
2020-02-22T12:24:53.9110528Z 2370 | |     }
2020-02-22T12:24:53.9185747Z 2371 | | }
2020-02-22T12:24:53.9235503Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:24:53.9244224Z ...
2020-02-22T12:24:53.9245114Z 2394 | /     int_impl! { i64, i64, u64, 64, -9223372036854775808, 9223372036854775807, "", "", 12,
2020-02-22T12:24:53.9246269Z 2395 | |     "0xaa00000000006e1", "0x6e10aa", "0x1234567890123456", "0x5634129078563412",
2020-02-22T12:24:53.9247352Z 2396 | |     "0x6a2c48091e6a2c48", "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]",
2020-02-22T12:24:53.9248409Z 2397 | |     "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]", "", "" }
2020-02-22T12:24:53.9249953Z 
2020-02-22T12:24:54.0057300Z error[E0541]: unknown meta item 'issue'
2020-02-22T12:24:54.0057998Z     --> src/libcore/num/mod.rs:2218:68
2020-02-22T12:24:54.0058518Z      |
2020-02-22T12:24:54.0058518Z      |
2020-02-22T12:24:54.0059161Z 256  | / macro_rules! int_impl {
2020-02-22T12:24:54.0060332Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:24:54.0061712Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:24:54.0062852Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:24:54.0065337Z 2218 | |             #[rustc_const_stable(feature = "const_int_conversion", issue = "1.43.0")]
2020-02-22T12:24:54.0066585Z      | |                                                                    ^^^^^^^^^^^^^^^^ expected one of `since`, `note`
2020-02-22T12:24:54.0067436Z ...    |
2020-02-22T12:24:54.0068117Z 2370 | |     }
2020-02-22T12:24:54.0068117Z 2370 | |     }
2020-02-22T12:24:54.0068846Z 2371 | | }
2020-02-22T12:24:54.0069630Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:24:54.0070415Z ...
2020-02-22T12:24:54.0071223Z 2402 | /     int_impl! { i128, i128, u128, 128, -170141183460469231731687303715884105728,
2020-02-22T12:24:54.0072955Z 2403 | |     170141183460469231731687303715884105727, "", "", 16,
2020-02-22T12:24:54.0074141Z 2404 | |     "0x13f40000000000000000000000004f76", "0x4f7613f4", "0x12345678901234567890123456789012",
2020-02-22T12:24:54.0075375Z 2405 | |     "0x12907856341290785634129078563412", "0x48091e6a2c48091e6a2c48091e6a2c48",
2020-02-22T12:24:54.0076075Z ...    |
2020-02-22T12:24:54.0076945Z 2408 | |     "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, \
2020-02-22T12:24:54.0078046Z 2409 | |       0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]", "", "" }
2020-02-22T12:24:54.0079511Z 
2020-02-22T12:24:54.0938612Z error[E0541]: unknown meta item 'issue'
2020-02-22T12:24:54.0940296Z     --> src/libcore/num/mod.rs:2253:68
2020-02-22T12:24:54.0940881Z      |
2020-02-22T12:24:54.0940881Z      |
2020-02-22T12:24:54.0941692Z 256  | / macro_rules! int_impl {
2020-02-22T12:24:54.0943423Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:24:54.0944878Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:24:54.0946028Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:24:54.0947794Z 2253 | |             #[rustc_const_stable(feature = "const_int_conversion", issue = "1.43.0")]
2020-02-22T12:24:54.0949018Z      | |                                                                    ^^^^^^^^^^^^^^^^ expected one of `since`, `note`
2020-02-22T12:24:54.0950003Z ...    |
2020-02-22T12:24:54.0950642Z 2370 | |     }
2020-02-22T12:24:54.0950642Z 2370 | |     }
2020-02-22T12:24:54.0951501Z 2371 | | }
2020-02-22T12:24:54.0952296Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:24:54.0952850Z ...
2020-02-22T12:24:54.0953670Z 2402 | /     int_impl! { i128, i128, u128, 128, -170141183460469231731687303715884105728,
2020-02-22T12:24:54.0954683Z 2403 | |     170141183460469231731687303715884105727, "", "", 16,
2020-02-22T12:24:54.0956424Z 2404 | |     "0x13f40000000000000000000000004f76", "0x4f7613f4", "0x12345678901234567890123456789012",
2020-02-22T12:24:54.0957541Z 2405 | |     "0x12907856341290785634129078563412", "0x48091e6a2c48091e6a2c48091e6a2c48",
2020-02-22T12:24:54.0958384Z ...    |
2020-02-22T12:24:54.0959253Z 2408 | |     "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, \
2020-02-22T12:24:54.0960422Z 2409 | |       0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]", "", "" }
2020-02-22T12:24:54.0961925Z 
2020-02-22T12:24:54.1780512Z error[E0541]: unknown meta item 'issue'
2020-02-22T12:24:54.1781337Z     --> src/libcore/num/mod.rs:2287:68
2020-02-22T12:24:54.1781835Z      |
2020-02-22T12:24:54.1781835Z      |
2020-02-22T12:24:54.1782639Z 256  | / macro_rules! int_impl {
2020-02-22T12:24:54.1783859Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:24:54.1785244Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:24:54.1787271Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:24:54.1788957Z 2287 | |             #[rustc_const_stable(feature = "const_int_conversion", issue = "1.43.0")]
2020-02-22T12:24:54.1790123Z      | |                                                                    ^^^^^^^^^^^^^^^^ expected one of `since`, `note`
2020-02-22T12:24:54.1791058Z ...    |
2020-02-22T12:24:54.1791830Z 2370 | |     }
2020-02-22T12:24:54.1791830Z 2370 | |     }
2020-02-22T12:24:54.1792579Z 2371 | | }
2020-02-22T12:24:54.1793759Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:24:54.1794363Z ...
2020-02-22T12:24:54.1795172Z 2402 | /     int_impl! { i128, i128, u128, 128, -170141183460469231731687303715884105728,
2020-02-22T12:24:54.1796287Z 2403 | |     170141183460469231731687303715884105727, "", "", 16,
2020-02-22T12:24:54.1797340Z 2404 | |     "0x13f40000000000000000000000004f76", "0x4f7613f4", "0x12345678901234567890123456789012",
2020-02-22T12:24:54.1798538Z 2405 | |     "0x12907856341290785634129078563412", "0x48091e6a2c48091e6a2c48091e6a2c48",
2020-02-22T12:24:54.1799444Z ...    |
2020-02-22T12:24:54.1800341Z 2408 | |     "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, \
2020-02-22T12:24:54.1801577Z 2409 | |       0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]", "", "" }
2020-02-22T12:24:54.1803041Z 
2020-02-22T12:24:54.2500400Z error[E0541]: unknown meta item 'issue'
2020-02-22T12:24:54.2501056Z     --> src/libcore/num/mod.rs:2320:68
2020-02-22T12:24:54.2501559Z      |
2020-02-22T12:24:54.2501559Z      |
2020-02-22T12:24:54.2502327Z 256  | / macro_rules! int_impl {
2020-02-22T12:24:54.2503394Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:24:54.2504687Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:24:54.2505969Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:24:54.2508477Z 2320 | |             #[rustc_const_stable(feature = "const_int_conversion", issue = "1.43.0")]
2020-02-22T12:24:54.2509716Z      | |                                                                    ^^^^^^^^^^^^^^^^ expected one of `since`, `note`
2020-02-22T12:24:54.2510907Z ...    |
2020-02-22T12:24:54.2512063Z 2370 | |     }
2020-02-22T12:24:54.2512063Z 2370 | |     }
2020-02-22T12:24:54.2512841Z 2371 | | }
2020-02-22T12:24:54.2514178Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:24:54.2514938Z ...
2020-02-22T12:24:54.2515896Z 2402 | /     int_impl! { i128, i128, u128, 128, -170141183460469231731687303715884105728,
2020-02-22T12:24:54.2516914Z 2403 | |     170141183460469231731687303715884105727, "", "", 16,
2020-02-22T12:24:54.2518011Z 2404 | |     "0x13f40000000000000000000000004f76", "0x4f7613f4", "0x12345678901234567890123456789012",
2020-02-22T12:24:54.2519122Z 2405 | |     "0x12907856341290785634129078563412", "0x48091e6a2c48091e6a2c48091e6a2c48",
2020-02-22T12:24:54.2520257Z ...    |
2020-02-22T12:24:54.2520985Z 2408 | |     "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, \
2020-02-22T12:24:54.2522101Z 2409 | |       0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]", "", "" }
2020-02-22T12:24:54.2523633Z 
2020-02-22T12:24:54.3416452Z error[E0541]: unknown meta item 'issue'
2020-02-22T12:24:54.3417608Z     --> src/libcore/num/mod.rs:2363:68
2020-02-22T12:24:54.3422011Z      |
2020-02-22T12:24:54.3422011Z      |
2020-02-22T12:24:54.3423003Z 256  | / macro_rules! int_impl {
2020-02-22T12:24:54.3424230Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:24:54.3425852Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:24:54.3427499Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:24:54.3429658Z 2363 | |             #[rustc_const_stable(feature = "const_int_conversion", issue = "1.43.0")]
---
2020-02-22T12:25:04.3880521Z   local time: Sat Feb 22 12:25:04 UTC 2020
2020-02-22T12:25:04.6767618Z   network time: Sat, 22 Feb 2020 12:25:04 GMT
2020-02-22T12:25:04.6768549Z == end clock drift check ==
2020-02-22T12:25:05.4562606Z 
2020-02-22T12:25:05.4657008Z ##[error]Bash exited with code '1'.
2020-02-22T12:25:05.4674695Z ##[section]Finishing: Run build
2020-02-22T12:25:05.4723745Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/69373/merge to s
2020-02-22T12:25:05.4730422Z Task         : Get sources
2020-02-22T12:25:05.4730773Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-02-22T12:25:05.4731097Z Version      : 1.0.0
2020-02-22T12:25:05.4731335Z Author       : Microsoft
2020-02-22T12:25:05.4731335Z Author       : Microsoft
2020-02-22T12:25:05.4731764Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2020-02-22T12:25:05.4732166Z ==============================================================================
2020-02-22T12:25:05.8373368Z Cleaning any cached credential from repository: rust-lang/rust (GitHub)
2020-02-22T12:25:05.8425518Z ##[section]Finishing: Checkout rust-lang/rust@refs/pull/69373/merge to s
2020-02-22T12:25:05.8519377Z Cleaning up task key
2020-02-22T12:25:05.8520954Z Start cleaning up orphan processes.
2020-02-22T12:25:05.8726943Z Terminate orphan process: pid (3596) (python)
2020-02-22T12:25:05.8869316Z ##[section]Finishing: Finalize Job

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@rust-highfive
Copy link
Collaborator

The job mingw-check of your PR failed (pretty log, raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
2020-02-22T12:49:34.1549738Z ========================== Starting Command Output ===========================
2020-02-22T12:49:34.1555863Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/050b4fc2-282e-46e7-bfb7-9d08593c1abe.sh
2020-02-22T12:49:34.1556135Z 
2020-02-22T12:49:34.1561303Z ##[section]Finishing: Disable git automatic line ending conversion
2020-02-22T12:49:34.1582268Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/69373/merge to s
2020-02-22T12:49:34.1585795Z Task         : Get sources
2020-02-22T12:49:34.1586048Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-02-22T12:49:34.1586341Z Version      : 1.0.0
2020-02-22T12:49:34.1586511Z Author       : Microsoft
---
2020-02-22T12:49:36.3846067Z ##[command]git remote add origin https://github.com/rust-lang/rust
2020-02-22T12:49:36.4400280Z ##[command]git config gc.auto 0
2020-02-22T12:49:36.4411792Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2020-02-22T12:49:36.4416993Z ##[command]git config --get-all http.proxy
2020-02-22T12:49:36.4425601Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/69373/merge:refs/remotes/pull/69373/merge
---
2020-02-22T12:54:28.8028055Z    Compiling libc v0.2.66
2020-02-22T12:54:30.2050863Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<i8, [u8; 1]>` is not stable as `const fn`
2020-02-22T12:54:30.2051723Z     --> src/libcore/num/mod.rs:2258:26
2020-02-22T12:54:30.2052195Z      |
2020-02-22T12:54:30.2053104Z 256  | / macro_rules! int_impl {
2020-02-22T12:54:30.2054655Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:54:30.2056331Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:54:30.2057783Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:54:30.2059505Z 2258 | |                 unsafe { mem::transmute(self) }
2020-02-22T12:54:30.2060316Z      | |                          ^^^^^^^^^^^^^^^^^^^^
2020-02-22T12:54:30.2060881Z ...    |
2020-02-22T12:54:30.2061452Z 2370 | |     }
2020-02-22T12:54:30.2061452Z 2370 | |     }
2020-02-22T12:54:30.2062381Z 2371 | | }
2020-02-22T12:54:30.2063084Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:54:30.2063918Z ...
2020-02-22T12:54:30.2065074Z 2375 | /     int_impl! { i8, i8, u8, 8, -128, 127, "", "", 2, "-0x7e", "0xa", "0x12", "0x12", "0x48",
2020-02-22T12:54:30.2066125Z 2376 | |     "[0x12]", "[0x12]", "", "" }
2020-02-22T12:54:30.2068533Z      |
2020-02-22T12:54:30.2068533Z      |
2020-02-22T12:54:30.2069416Z      = note: for more information, see issue ***/issues/57563
2020-02-22T12:54:30.2070134Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T12:54:30.2657357Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<i16, [u8; 2]>` is not stable as `const fn`
2020-02-22T12:54:30.2658474Z     --> src/libcore/num/mod.rs:2258:26
2020-02-22T12:54:30.2659000Z      |
2020-02-22T12:54:30.2659625Z 256  | / macro_rules! int_impl {
2020-02-22T12:54:30.2659625Z 256  | / macro_rules! int_impl {
2020-02-22T12:54:30.2660686Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:54:30.2661937Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:54:30.2663067Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:54:30.2664562Z 2258 | |                 unsafe { mem::transmute(self) }
2020-02-22T12:54:30.2665480Z      | |                          ^^^^^^^^^^^^^^^^^^^^
2020-02-22T12:54:30.2666097Z ...    |
2020-02-22T12:54:30.2666719Z 2370 | |     }
2020-02-22T12:54:30.2666719Z 2370 | |     }
2020-02-22T12:54:30.2667401Z 2371 | | }
2020-02-22T12:54:30.2668131Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:54:30.2668662Z ...
2020-02-22T12:54:30.2669459Z 2381 | /     int_impl! { i16, i16, u16, 16, -32768, 32767, "", "", 4, "-0x5ffd", "0x3a", "0x1234", "0x3412",
2020-02-22T12:54:30.2670461Z 2382 | |     "0x2c48", "[0x34, 0x12]", "[0x12, 0x34]", "", "" }
2020-02-22T12:54:30.2672017Z      |
2020-02-22T12:54:30.2672017Z      |
2020-02-22T12:54:30.2673106Z      = note: for more information, see issue ***/issues/57563
2020-02-22T12:54:30.2674014Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T12:54:30.3236407Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<i32, [u8; 4]>` is not stable as `const fn`
2020-02-22T12:54:30.3237640Z     --> src/libcore/num/mod.rs:2258:26
2020-02-22T12:54:30.3238132Z      |
2020-02-22T12:54:30.3238756Z 256  | / macro_rules! int_impl {
2020-02-22T12:54:30.3238756Z 256  | / macro_rules! int_impl {
2020-02-22T12:54:30.3239829Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:54:30.3241067Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:54:30.3242194Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:54:30.3243701Z 2258 | |                 unsafe { mem::transmute(self) }
2020-02-22T12:54:30.3244603Z      | |                          ^^^^^^^^^^^^^^^^^^^^
2020-02-22T12:54:30.3245220Z ...    |
2020-02-22T12:54:30.3246912Z 2370 | |     }
2020-02-22T12:54:30.3246912Z 2370 | |     }
2020-02-22T12:54:30.3247666Z 2371 | | }
2020-02-22T12:54:30.3248449Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:54:30.3249017Z ...
2020-02-22T12:54:30.3250053Z 2387 | /     int_impl! { i32, i32, u32, 32, -2147483648, 2147483647, "", "", 8, "0x10000b3", "0xb301",
2020-02-22T12:54:30.3251117Z 2388 | |     "0x12345678", "0x78563412", "0x1e6a2c48", "[0x78, 0x56, 0x34, 0x12]",
2020-02-22T12:54:30.3252064Z 2389 | |     "[0x12, 0x34, 0x56, 0x78]", "", "" }
2020-02-22T12:54:30.3253601Z      |
2020-02-22T12:54:30.3253601Z      |
2020-02-22T12:54:30.3254406Z      = note: for more information, see issue ***/issues/57563
2020-02-22T12:54:30.3255244Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T12:54:30.3813423Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<i64, [u8; 8]>` is not stable as `const fn`
2020-02-22T12:54:30.3814249Z     --> src/libcore/num/mod.rs:2258:26
2020-02-22T12:54:30.3814676Z      |
2020-02-22T12:54:30.3815387Z 256  | / macro_rules! int_impl {
2020-02-22T12:54:30.3815387Z 256  | / macro_rules! int_impl {
2020-02-22T12:54:30.3816389Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:54:30.3817472Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:54:30.3818588Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:54:30.3819908Z 2258 | |                 unsafe { mem::transmute(self) }
2020-02-22T12:54:30.3821083Z      | |                          ^^^^^^^^^^^^^^^^^^^^
2020-02-22T12:54:30.3822029Z ...    |
2020-02-22T12:54:30.3822788Z 2370 | |     }
2020-02-22T12:54:30.3822788Z 2370 | |     }
2020-02-22T12:54:30.3824274Z 2371 | | }
2020-02-22T12:54:30.3825030Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:54:30.3825569Z ...
2020-02-22T12:54:30.3826689Z 2394 | /     int_impl! { i64, i64, u64, 64, -9223372036854775808, 9223372036854775807, "", "", 12,
2020-02-22T12:54:30.3827947Z 2395 | |     "0xaa00000000006e1", "0x6e10aa", "0x1234567890123456", "0x5634129078563412",
2020-02-22T12:54:30.3828829Z 2396 | |     "0x6a2c48091e6a2c48", "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]",
2020-02-22T12:54:30.3829644Z 2397 | |     "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]", "", "" }
2020-02-22T12:54:30.3831287Z      |
2020-02-22T12:54:30.3831287Z      |
2020-02-22T12:54:30.3831968Z      = note: for more information, see issue ***/issues/57563
2020-02-22T12:54:30.3832700Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T12:54:30.4421087Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<i128, [u8; 16]>` is not stable as `const fn`
2020-02-22T12:54:30.4422087Z     --> src/libcore/num/mod.rs:2258:26
2020-02-22T12:54:30.4423033Z      |
2020-02-22T12:54:30.4423870Z 256  | / macro_rules! int_impl {
2020-02-22T12:54:30.4423870Z 256  | / macro_rules! int_impl {
2020-02-22T12:54:30.4425383Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:54:30.4427161Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:54:30.4429097Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:54:30.4431114Z 2258 | |                 unsafe { mem::transmute(self) }
2020-02-22T12:54:30.4432436Z      | |                          ^^^^^^^^^^^^^^^^^^^^
2020-02-22T12:54:30.4434044Z ...    |
2020-02-22T12:54:30.4434933Z 2370 | |     }
2020-02-22T12:54:30.4434933Z 2370 | |     }
2020-02-22T12:54:30.4435976Z 2371 | | }
2020-02-22T12:54:30.4436927Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:54:30.4437528Z ...
2020-02-22T12:54:30.4438322Z 2402 | /     int_impl! { i128, i128, u128, 128, -170141183460469231731687303715884105728,
2020-02-22T12:54:30.4439486Z 2403 | |     170141183460469231731687303715884105727, "", "", 16,
2020-02-22T12:54:30.4440844Z 2404 | |     "0x13f40000000000000000000000004f76", "0x4f7613f4", "0x12345678901234567890123456789012",
2020-02-22T12:54:30.4441992Z 2405 | |     "0x12907856341290785634129078563412", "0x48091e6a2c48091e6a2c48091e6a2c48",
2020-02-22T12:54:30.4442938Z ...    |
2020-02-22T12:54:30.4443950Z 2408 | |     "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, \
2020-02-22T12:54:30.4445120Z 2409 | |       0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]", "", "" }
2020-02-22T12:54:30.4447220Z      |
2020-02-22T12:54:30.4447220Z      |
2020-02-22T12:54:30.4448262Z      = note: for more information, see issue ***/issues/57563
2020-02-22T12:54:30.4449322Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T12:54:30.4449719Z 
2020-02-22T12:54:30.5103494Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<isize, [u8; 8]>` is not stable as `const fn`
2020-02-22T12:54:30.5104678Z     --> src/libcore/num/mod.rs:2258:26
2020-02-22T12:54:30.5105965Z 256  | / macro_rules! int_impl {
2020-02-22T12:54:30.5105965Z 256  | / macro_rules! int_impl {
2020-02-22T12:54:30.5107173Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:54:30.5108890Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:54:30.5110172Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:54:30.5111916Z 2258 | |                 unsafe { mem::transmute(self) }
2020-02-22T12:54:30.5113354Z      | |                          ^^^^^^^^^^^^^^^^^^^^
2020-02-22T12:54:30.5114404Z ...    |
2020-02-22T12:54:30.5115059Z 2370 | |     }
2020-02-22T12:54:30.5115059Z 2370 | |     }
2020-02-22T12:54:30.5115768Z 2371 | | }
2020-02-22T12:54:30.5116900Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:54:30.5117525Z ...
2020-02-22T12:54:30.5118359Z 2432 | /     int_impl! { isize, i64, u64, 64, -9223372036854775808, 9223372036854775807, "", "",
2020-02-22T12:54:30.5119439Z 2433 | |     12, "0xaa00000000006e1", "0x6e10aa",  "0x1234567890123456", "0x5634129078563412",
2020-02-22T12:54:30.5121834Z 2434 | |      "0x6a2c48091e6a2c48", "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]",
2020-02-22T12:54:30.5123157Z 2435 | |      "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]",
2020-02-22T12:54:30.5124362Z 2436 | |      usize_isize_to_xe_bytes_doc!(), usize_isize_from_xe_bytes_doc!() }
2020-02-22T12:54:30.5127461Z      |
2020-02-22T12:54:30.5127461Z      |
2020-02-22T12:54:30.5128497Z      = note: for more information, see issue ***/issues/57563
2020-02-22T12:54:30.5129385Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T12:54:30.5129944Z 
2020-02-22T12:54:30.5740817Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<[u8; 1], i8>` is not stable as `const fn`
2020-02-22T12:54:30.5742023Z     --> src/libcore/num/mod.rs:2367:26
2020-02-22T12:54:30.5743495Z 256  | / macro_rules! int_impl {
2020-02-22T12:54:30.5743495Z 256  | / macro_rules! int_impl {
2020-02-22T12:54:30.5744717Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:54:30.5747090Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:54:30.5748604Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:54:30.5749944Z ...    |
2020-02-22T12:54:30.5751034Z 2367 | |                 unsafe { mem::transmute(bytes) }
2020-02-22T12:54:30.5753132Z ...    |
2020-02-22T12:54:30.5754192Z 2370 | |     }
2020-02-22T12:54:30.5755137Z 2371 | | }
2020-02-22T12:54:30.5755928Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:54:30.5755928Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:54:30.5756740Z ...
2020-02-22T12:54:30.5757598Z 2375 | /     int_impl! { i8, i8, u8, 8, -128, 127, "", "", 2, "-0x7e", "0xa", "0x12", "0x12", "0x48",
2020-02-22T12:54:30.5758873Z 2376 | |     "[0x12]", "[0x12]", "", "" }
2020-02-22T12:54:30.5760638Z      |
2020-02-22T12:54:30.5760638Z      |
2020-02-22T12:54:30.5761497Z      = note: for more information, see issue ***/issues/57563
2020-02-22T12:54:30.5762557Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T12:54:30.5763267Z 
2020-02-22T12:54:30.6398646Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<[u8; 2], i16>` is not stable as `const fn`
2020-02-22T12:54:30.6399820Z     --> src/libcore/num/mod.rs:2367:26
2020-02-22T12:54:30.6401754Z 256  | / macro_rules! int_impl {
2020-02-22T12:54:30.6401754Z 256  | / macro_rules! int_impl {
2020-02-22T12:54:30.6403297Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:54:30.6405385Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:54:30.6407131Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:54:30.6408334Z ...    |
2020-02-22T12:54:30.6409740Z 2367 | |                 unsafe { mem::transmute(bytes) }
2020-02-22T12:54:30.6411830Z ...    |
2020-02-22T12:54:30.6412918Z 2370 | |     }
2020-02-22T12:54:30.6413870Z 2371 | | }
2020-02-22T12:54:30.6414874Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:54:30.6414874Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:54:30.6415668Z ...
2020-02-22T12:54:30.6416972Z 2381 | /     int_impl! { i16, i16, u16, 16, -32768, 32767, "", "", 4, "-0x5ffd", "0x3a", "0x1234", "0x3412",
2020-02-22T12:54:30.6418109Z 2382 | |     "0x2c48", "[0x34, 0x12]", "[0x12, 0x34]", "", "" }
2020-02-22T12:54:30.6420061Z      |
2020-02-22T12:54:30.6420061Z      |
2020-02-22T12:54:30.6421092Z      = note: for more information, see issue ***/issues/57563
2020-02-22T12:54:30.6421990Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T12:54:30.6422430Z 
2020-02-22T12:54:30.7016914Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<[u8; 4], i32>` is not stable as `const fn`
2020-02-22T12:54:30.7018020Z     --> src/libcore/num/mod.rs:2367:26
2020-02-22T12:54:30.7019485Z 256  | / macro_rules! int_impl {
2020-02-22T12:54:30.7019485Z 256  | / macro_rules! int_impl {
2020-02-22T12:54:30.7020691Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:54:30.7022072Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:54:30.7023323Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:54:30.7024189Z ...    |
2020-02-22T12:54:30.7025134Z 2367 | |                 unsafe { mem::transmute(bytes) }
2020-02-22T12:54:30.7026948Z ...    |
2020-02-22T12:54:30.7027698Z 2370 | |     }
2020-02-22T12:54:30.7028524Z 2371 | | }
2020-02-22T12:54:30.7029419Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:54:30.7029419Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:54:30.7030076Z ...
2020-02-22T12:54:30.7031037Z 2387 | /     int_impl! { i32, i32, u32, 32, -2147483648, 2147483647, "", "", 8, "0x10000b3", "0xb301",
2020-02-22T12:54:30.7032197Z 2388 | |     "0x12345678", "0x78563412", "0x1e6a2c48", "[0x78, 0x56, 0x34, 0x12]",
2020-02-22T12:54:30.7033381Z 2389 | |     "[0x12, 0x34, 0x56, 0x78]", "", "" }
2020-02-22T12:54:30.7035205Z      |
2020-02-22T12:54:30.7035205Z      |
2020-02-22T12:54:30.7036117Z      = note: for more information, see issue ***/issues/57563
2020-02-22T12:54:30.7037285Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T12:54:30.7037777Z 
2020-02-22T12:54:30.7683983Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<[u8; 8], i64>` is not stable as `const fn`
2020-02-22T12:54:30.7684946Z     --> src/libcore/num/mod.rs:2367:26
2020-02-22T12:54:30.7686084Z 256  | / macro_rules! int_impl {
2020-02-22T12:54:30.7686084Z 256  | / macro_rules! int_impl {
2020-02-22T12:54:30.7687429Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:54:30.7688841Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:54:30.7689974Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:54:30.7690700Z ...    |
2020-02-22T12:54:30.7691477Z 2367 | |                 unsafe { mem::transmute(bytes) }
2020-02-22T12:54:30.7693025Z ...    |
2020-02-22T12:54:30.7693660Z 2370 | |     }
2020-02-22T12:54:30.7694339Z 2371 | | }
2020-02-22T12:54:30.7695076Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:54:30.7695076Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:54:30.7695611Z ...
2020-02-22T12:54:30.7696393Z 2394 | /     int_impl! { i64, i64, u64, 64, -9223372036854775808, 9223372036854775807, "", "", 12,
2020-02-22T12:54:30.7697666Z 2395 | |     "0xaa00000000006e1", "0x6e10aa", "0x1234567890123456", "0x5634129078563412",
2020-02-22T12:54:30.7699663Z 2396 | |     "0x6a2c48091e6a2c48", "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]",
2020-02-22T12:54:30.7700783Z 2397 | |     "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]", "", "" }
2020-02-22T12:54:30.7702806Z      |
2020-02-22T12:54:30.7702806Z      |
2020-02-22T12:54:30.7703628Z      = note: for more information, see issue ***/issues/57563
2020-02-22T12:54:30.7704471Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T12:54:30.7704828Z 
2020-02-22T12:54:30.8649163Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<[u8; 16], i128>` is not stable as `const fn`
2020-02-22T12:54:30.8650002Z     --> src/libcore/num/mod.rs:2367:26
2020-02-22T12:54:30.8651633Z 256  | / macro_rules! int_impl {
2020-02-22T12:54:30.8651633Z 256  | / macro_rules! int_impl {
2020-02-22T12:54:30.8652719Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:54:30.8654574Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:54:30.8656071Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:54:30.8656722Z ...    |
2020-02-22T12:54:30.8657448Z 2367 | |                 unsafe { mem::transmute(bytes) }
2020-02-22T12:54:30.8658830Z ...    |
2020-02-22T12:54:30.8659399Z 2370 | |     }
2020-02-22T12:54:30.8660012Z 2371 | | }
2020-02-22T12:54:30.8660682Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:54:30.8660682Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:54:30.8661168Z ...
2020-02-22T12:54:30.8661852Z 2402 | /     int_impl! { i128, i128, u128, 128, -170141183460469231731687303715884105728,
2020-02-22T12:54:30.8662737Z 2403 | |     170141183460469231731687303715884105727, "", "", 16,
2020-02-22T12:54:30.8663661Z 2404 | |     "0x13f40000000000000000000000004f76", "0x4f7613f4", "0x12345678901234567890123456789012",
2020-02-22T12:54:30.8664598Z 2405 | |     "0x12907856341290785634129078563412", "0x48091e6a2c48091e6a2c48091e6a2c48",
2020-02-22T12:54:30.8665255Z ...    |
2020-02-22T12:54:30.8666108Z 2408 | |     "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, \
2020-02-22T12:54:30.8667150Z 2409 | |       0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]", "", "" }
2020-02-22T12:54:30.8668615Z      |
2020-02-22T12:54:30.8668615Z      |
2020-02-22T12:54:30.8669517Z      = note: for more information, see issue ***/issues/57563
2020-02-22T12:54:30.8670230Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T12:54:30.8821580Z    Compiling autocfg v0.1.7
2020-02-22T12:54:30.8821580Z    Compiling autocfg v0.1.7
2020-02-22T12:54:30.9454901Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<[u8; 8], isize>` is not stable as `const fn`
2020-02-22T12:54:30.9455802Z     --> src/libcore/num/mod.rs:2367:26
2020-02-22T12:54:30.9457162Z 256  | / macro_rules! int_impl {
2020-02-22T12:54:30.9457162Z 256  | / macro_rules! int_impl {
2020-02-22T12:54:30.9458227Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T12:54:30.9459421Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:54:30.9460718Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:54:30.9461412Z ...    |
2020-02-22T12:54:30.9462179Z 2367 | |                 unsafe { mem::transmute(bytes) }
2020-02-22T12:54:30.9463654Z ...    |
2020-02-22T12:54:30.9464263Z 2370 | |     }
2020-02-22T12:54:30.9464911Z 2371 | | }
2020-02-22T12:54:30.9465626Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:54:30.9465626Z      | |_- in this expansion of `int_impl!`
2020-02-22T12:54:30.9466194Z ...
2020-02-22T12:54:30.9466936Z 2432 | /     int_impl! { isize, i64, u64, 64, -9223372036854775808, 9223372036854775807, "", "",
2020-02-22T12:54:30.9468504Z 2433 | |     12, "0xaa00000000006e1", "0x6e10aa",  "0x1234567890123456", "0x5634129078563412",
2020-02-22T12:54:30.9469661Z 2434 | |      "0x6a2c48091e6a2c48", "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]",
2020-02-22T12:54:30.9470575Z 2435 | |      "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]",
2020-02-22T12:54:30.9471508Z 2436 | |      usize_isize_to_xe_bytes_doc!(), usize_isize_from_xe_bytes_doc!() }
2020-02-22T12:54:30.9473333Z      |
2020-02-22T12:54:30.9473333Z      |
2020-02-22T12:54:30.9474247Z      = note: for more information, see issue ***/issues/57563
2020-02-22T12:54:30.9475026Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T12:54:30.9479376Z 
2020-02-22T12:54:31.0892271Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<u8, [u8; 1]>` is not stable as `const fn`
2020-02-22T12:54:31.0893236Z     --> src/libcore/num/mod.rs:4195:26
2020-02-22T12:54:31.0894340Z 2439 | / macro_rules! uint_impl {
2020-02-22T12:54:31.0894340Z 2439 | / macro_rules! uint_impl {
2020-02-22T12:54:31.0895372Z 2440 | |     ($SelfT:ty, $ActualT:ty, $BITS:expr, $MaxV:expr, $Feature:expr, $EndFeature:expr,
2020-02-22T12:54:31.0896698Z 2441 | |         $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:54:31.0898088Z 2442 | |         $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:54:31.0899663Z 4195 | |                 unsafe { mem::transmute(self) }
2020-02-22T12:54:31.0900544Z      | |                          ^^^^^^^^^^^^^^^^^^^^
2020-02-22T12:54:31.0901146Z ...    |
2020-02-22T12:54:31.0901740Z 4307 | |     }
2020-02-22T12:54:31.0901740Z 4307 | |     }
2020-02-22T12:54:31.0904306Z 4308 | | }
2020-02-22T12:54:31.0905109Z      | |_- in this expansion of `uint_impl!`
2020-02-22T12:54:31.0905660Z ...
2020-02-22T12:54:31.0906611Z 4312 | /     uint_impl! { u8, u8, 8, 255, "", "", 2, "0x82", "0xa", "0x12", "0x12", "0x48", "[0x12]",
2020-02-22T12:54:31.0907566Z 4313 | |     "[0x12]", "", "" }
2020-02-22T12:54:31.0909055Z      |
2020-02-22T12:54:31.0909055Z      |
2020-02-22T12:54:31.0909931Z      = note: for more information, see issue ***/issues/57563
2020-02-22T12:54:31.0910809Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T12:54:31.0919337Z 
2020-02-22T12:54:31.1745569Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<u16, [u8; 2]>` is not stable as `const fn`
2020-02-22T12:54:31.1746565Z     --> src/libcore/num/mod.rs:4195:26
2020-02-22T12:54:31.1747768Z 2439 | / macro_rules! uint_impl {
2020-02-22T12:54:31.1747768Z 2439 | / macro_rules! uint_impl {
2020-02-22T12:54:31.1748929Z 2440 | |     ($SelfT:ty, $ActualT:ty, $BITS:expr, $MaxV:expr, $Feature:expr, $EndFeature:expr,
2020-02-22T12:54:31.1750218Z 2441 | |         $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:54:31.1751387Z 2442 | |         $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:54:31.1753688Z 4195 | |                 unsafe { mem::transmute(self) }
2020-02-22T12:54:31.1754655Z      | |                          ^^^^^^^^^^^^^^^^^^^^
2020-02-22T12:54:31.1755321Z ...    |
2020-02-22T12:54:31.1756167Z 4307 | |     }
2020-02-22T12:54:31.1756167Z 4307 | |     }
2020-02-22T12:54:31.1756952Z 4308 | | }
2020-02-22T12:54:31.1757771Z      | |_- in this expansion of `uint_impl!`
2020-02-22T12:54:31.1758326Z ...
2020-02-22T12:54:31.1759183Z 4810 | /     uint_impl! { u16, u16, 16, 65535, "", "", 4, "0xa003", "0x3a", "0x1234", "0x3412", "0x2c48",
2020-02-22T12:54:31.1760345Z 4811 | |     "[0x34, 0x12]", "[0x12, 0x34]", "", "" }
2020-02-22T12:54:31.1761957Z      |
2020-02-22T12:54:31.1761957Z      |
2020-02-22T12:54:31.1762961Z      = note: for more information, see issue ***/issues/57563
2020-02-22T12:54:31.1764030Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T12:54:31.1769090Z 
2020-02-22T12:54:31.2368425Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<u32, [u8; 4]>` is not stable as `const fn`
2020-02-22T12:54:31.2369290Z     --> src/libcore/num/mod.rs:4195:26
2020-02-22T12:54:31.2370510Z 2439 | / macro_rules! uint_impl {
2020-02-22T12:54:31.2370510Z 2439 | / macro_rules! uint_impl {
2020-02-22T12:54:31.2371455Z 2440 | |     ($SelfT:ty, $ActualT:ty, $BITS:expr, $MaxV:expr, $Feature:expr, $EndFeature:expr,
2020-02-22T12:54:31.2372519Z 2441 | |         $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:54:31.2373496Z 2442 | |         $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:54:31.2374874Z 4195 | |                 unsafe { mem::transmute(self) }
2020-02-22T12:54:31.2375694Z      | |                          ^^^^^^^^^^^^^^^^^^^^
2020-02-22T12:54:31.2376259Z ...    |
2020-02-22T12:54:31.2376819Z 4307 | |     }
2020-02-22T12:54:31.2376819Z 4307 | |     }
2020-02-22T12:54:31.2377626Z 4308 | | }
2020-02-22T12:54:31.2378321Z      | |_- in this expansion of `uint_impl!`
2020-02-22T12:54:31.2378980Z ...
2020-02-22T12:54:31.2379757Z 4816 | /     uint_impl! { u32, u32, 32, 4294967295, "", "", 8, "0x10000b3", "0xb301", "0x12345678",
2020-02-22T12:54:31.2380808Z 4817 | |     "0x78563412", "0x1e6a2c48", "[0x78, 0x56, 0x34, 0x12]", "[0x12, 0x34, 0x56, 0x78]", "", "" }
2020-02-22T12:54:31.2383224Z      |
2020-02-22T12:54:31.2383224Z      |
2020-02-22T12:54:31.2383970Z      = note: for more information, see issue ***/issues/57563
2020-02-22T12:54:31.2384731Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T12:54:31.2390025Z 
2020-02-22T12:54:31.3252465Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<u64, [u8; 8]>` is not stable as `const fn`
2020-02-22T12:54:31.3253509Z     --> src/libcore/num/mod.rs:4195:26
2020-02-22T12:54:31.3254698Z 2439 | / macro_rules! uint_impl {
2020-02-22T12:54:31.3254698Z 2439 | / macro_rules! uint_impl {
2020-02-22T12:54:31.3255706Z 2440 | |     ($SelfT:ty, $ActualT:ty, $BITS:expr, $MaxV:expr, $Feature:expr, $EndFeature:expr,
2020-02-22T12:54:31.3257208Z 2441 | |         $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:54:31.3258480Z 2442 | |         $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:54:31.3260470Z 4195 | |                 unsafe { mem::transmute(self) }
2020-02-22T12:54:31.3261334Z      | |                          ^^^^^^^^^^^^^^^^^^^^
2020-02-22T12:54:31.3261940Z ...    |
2020-02-22T12:54:31.3262555Z 4307 | |     }
2020-02-22T12:54:31.3262555Z 4307 | |     }
2020-02-22T12:54:31.3263206Z 4308 | | }
2020-02-22T12:54:31.3263915Z      | |_- in this expansion of `uint_impl!`
2020-02-22T12:54:31.3264444Z ...
2020-02-22T12:54:31.3265433Z 4822 | /     uint_impl! { u64, u64, 64, 18446744073709551615, "", "", 12, "0xaa00000000006e1", "0x6e10aa",
2020-02-22T12:54:31.3266798Z 4823 | |     "0x1234567890123456", "0x5634129078563412", "0x6a2c48091e6a2c48",
2020-02-22T12:54:31.3268459Z 4824 | |     "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]",
2020-02-22T12:54:31.3269373Z 4825 | |     "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]",
2020-02-22T12:54:31.3270180Z 4826 | |     "", ""}
2020-02-22T12:54:31.3271503Z      |
2020-02-22T12:54:31.3271503Z      |
2020-02-22T12:54:31.3272298Z      = note: for more information, see issue ***/issues/57563
2020-02-22T12:54:31.3273252Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T12:54:31.3278008Z 
2020-02-22T12:54:31.3903527Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<u128, [u8; 16]>` is not stable as `const fn`
2020-02-22T12:54:31.3904396Z     --> src/libcore/num/mod.rs:4195:26
2020-02-22T12:54:31.3905466Z 2439 | / macro_rules! uint_impl {
2020-02-22T12:54:31.3905466Z 2439 | / macro_rules! uint_impl {
2020-02-22T12:54:31.3906834Z 2440 | |     ($SelfT:ty, $ActualT:ty, $BITS:expr, $MaxV:expr, $Feature:expr, $EndFeature:expr,
2020-02-22T12:54:31.3907967Z 2441 | |         $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:54:31.3909179Z 2442 | |         $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:54:31.3910585Z 4195 | |                 unsafe { mem::transmute(self) }
2020-02-22T12:54:31.3911431Z      | |                          ^^^^^^^^^^^^^^^^^^^^
2020-02-22T12:54:31.3912175Z ...    |
2020-02-22T12:54:31.3913574Z 4307 | |     }
2020-02-22T12:54:31.3913574Z 4307 | |     }
2020-02-22T12:54:31.3914276Z 4308 | | }
2020-02-22T12:54:31.3914963Z      | |_- in this expansion of `uint_impl!`
2020-02-22T12:54:31.3915469Z ...
2020-02-22T12:54:31.3916191Z 4831 | /     uint_impl! { u128, u128, 128, 340282366920938463463374607431768211455, "", "", 16,
2020-02-22T12:54:31.3917300Z 4832 | |     "0x13f40000000000000000000000004f76", "0x4f7613f4", "0x12345678901234567890123456789012",
2020-02-22T12:54:31.3918268Z 4833 | |     "0x12907856341290785634129078563412", "0x48091e6a2c48091e6a2c48091e6a2c48",
2020-02-22T12:54:31.3919128Z 4834 | |     "[0x12, 0x90, 0x78, 0x56, 0x34, 0x12, 0x90, 0x78, \
2020-02-22T12:54:31.3919738Z ...    |
2020-02-22T12:54:31.3920603Z 4837 | |       0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]",
2020-02-22T12:54:31.3921344Z 4838 | |      "", ""}
2020-02-22T12:54:31.3922581Z      |
2020-02-22T12:54:31.3922581Z      |
2020-02-22T12:54:31.3923324Z      = note: for more information, see issue ***/issues/57563
2020-02-22T12:54:31.3924080Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T12:54:31.3956408Z 
2020-02-22T12:54:31.4649560Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<usize, [u8; 8]>` is not stable as `const fn`
2020-02-22T12:54:31.4650424Z     --> src/libcore/num/mod.rs:4195:26
2020-02-22T12:54:31.4651454Z 2439 | / macro_rules! uint_impl {
2020-02-22T12:54:31.4651454Z 2439 | / macro_rules! uint_impl {
2020-02-22T12:54:31.4653611Z 2440 | |     ($SelfT:ty, $ActualT:ty, $BITS:expr, $MaxV:expr, $Feature:expr, $EndFeature:expr,
2020-02-22T12:54:31.4655128Z 2441 | |         $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:54:31.4656594Z 2442 | |         $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:54:31.4657941Z 4195 | |                 unsafe { mem::transmute(self) }
2020-02-22T12:54:31.4658718Z      | |                          ^^^^^^^^^^^^^^^^^^^^
2020-02-22T12:54:31.4659281Z ...    |
2020-02-22T12:54:31.4659815Z 4307 | |     }
2020-02-22T12:54:31.4659815Z 4307 | |     }
2020-02-22T12:54:31.4660410Z 4308 | | }
2020-02-22T12:54:31.4661073Z      | |_- in this expansion of `uint_impl!`
2020-02-22T12:54:31.4661522Z ...
2020-02-22T12:54:31.4662247Z 4859 | /     uint_impl! { usize, u64, 64, 18446744073709551615, "", "", 12, "0xaa00000000006e1", "0x6e10aa",
2020-02-22T12:54:31.4663150Z 4860 | |     "0x1234567890123456", "0x5634129078563412", "0x6a2c48091e6a2c48",
2020-02-22T12:54:31.4663968Z 4861 | |     "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]",
2020-02-22T12:54:31.4664987Z 4862 | |      "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]",
2020-02-22T12:54:31.4669795Z 4863 | |     usize_isize_to_xe_bytes_doc!(), usize_isize_from_xe_bytes_doc!() }
2020-02-22T12:54:31.4673776Z      |
2020-02-22T12:54:31.4673776Z      |
2020-02-22T12:54:31.4674818Z      = note: for more information, see issue ***/issues/57563
2020-02-22T12:54:31.4676021Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T12:54:31.4716617Z 
2020-02-22T12:54:31.5366731Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<[u8; 1], u8>` is not stable as `const fn`
2020-02-22T12:54:31.5368196Z     --> src/libcore/num/mod.rs:4304:26
2020-02-22T12:54:31.5369600Z 2439 | / macro_rules! uint_impl {
2020-02-22T12:54:31.5369600Z 2439 | / macro_rules! uint_impl {
2020-02-22T12:54:31.5370917Z 2440 | |     ($SelfT:ty, $ActualT:ty, $BITS:expr, $MaxV:expr, $Feature:expr, $EndFeature:expr,
2020-02-22T12:54:31.5372597Z 2441 | |         $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:54:31.5373794Z 2442 | |         $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:54:31.5375369Z ...    |
2020-02-22T12:54:31.5376300Z 4304 | |                 unsafe { mem::transmute(bytes) }
2020-02-22T12:54:31.5378111Z ...    |
2020-02-22T12:54:31.5378867Z 4307 | |     }
2020-02-22T12:54:31.5379700Z 4308 | | }
2020-02-22T12:54:31.5379700Z 4308 | | }
2020-02-22T12:54:31.5380587Z      | |_- in this expansion of `uint_impl!`
2020-02-22T12:54:31.5381253Z ...
2020-02-22T12:54:31.5382181Z 4312 | /     uint_impl! { u8, u8, 8, 255, "", "", 2, "0x82", "0xa", "0x12", "0x12", "0x48", "[0x12]",
2020-02-22T12:54:31.5383185Z 4313 | |     "[0x12]", "", "" }
2020-02-22T12:54:31.5384849Z      |
2020-02-22T12:54:31.5384849Z      |
2020-02-22T12:54:31.5385760Z      = note: for more information, see issue ***/issues/57563
2020-02-22T12:54:31.5386834Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T12:54:31.5390636Z 
2020-02-22T12:54:31.6227422Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<[u8; 2], u16>` is not stable as `const fn`
2020-02-22T12:54:31.6228308Z     --> src/libcore/num/mod.rs:4304:26
2020-02-22T12:54:31.6229426Z 2439 | / macro_rules! uint_impl {
2020-02-22T12:54:31.6229426Z 2439 | / macro_rules! uint_impl {
2020-02-22T12:54:31.6230444Z 2440 | |     ($SelfT:ty, $ActualT:ty, $BITS:expr, $MaxV:expr, $Feature:expr, $EndFeature:expr,
2020-02-22T12:54:31.6231630Z 2441 | |         $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:54:31.6232709Z 2442 | |         $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:54:31.6233627Z ...    |
2020-02-22T12:54:31.6234427Z 4304 | |                 unsafe { mem::transmute(bytes) }
2020-02-22T12:54:31.6236116Z ...    |
2020-02-22T12:54:31.6236996Z 4307 | |     }
2020-02-22T12:54:31.6237695Z 4308 | | }
2020-02-22T12:54:31.6237695Z 4308 | | }
2020-02-22T12:54:31.6238472Z      | |_- in this expansion of `uint_impl!`
2020-02-22T12:54:31.6239351Z ...
2020-02-22T12:54:31.6240369Z 4810 | /     uint_impl! { u16, u16, 16, 65535, "", "", 4, "0xa003", "0x3a", "0x1234", "0x3412", "0x2c48",
2020-02-22T12:54:31.6241654Z 4811 | |     "[0x34, 0x12]", "[0x12, 0x34]", "", "" }
2020-02-22T12:54:31.6243169Z      |
2020-02-22T12:54:31.6243169Z      |
2020-02-22T12:54:31.6243946Z      = note: for more information, see issue ***/issues/57563
2020-02-22T12:54:31.6244755Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T12:54:31.6248749Z 
2020-02-22T12:54:31.6990963Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<[u8; 4], u32>` is not stable as `const fn`
2020-02-22T12:54:31.6991864Z     --> src/libcore/num/mod.rs:4304:26
2020-02-22T12:54:31.6993272Z 2439 | / macro_rules! uint_impl {
2020-02-22T12:54:31.6993272Z 2439 | / macro_rules! uint_impl {
2020-02-22T12:54:31.6994337Z 2440 | |     ($SelfT:ty, $ActualT:ty, $BITS:expr, $MaxV:expr, $Feature:expr, $EndFeature:expr,
2020-02-22T12:54:31.6995462Z 2441 | |         $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T12:54:31.6998995Z 2442 | |         $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T12:54:31.6999961Z ...    |
2020-02-22T12:54:31.7000802Z 4304 | |                 unsafe { mem::transmute(bytes) }
2020-02-22T12:54:31.7003099Z ...    |
2020-02-22T12:54:31.7003755Z 4307 | |     }
2020-02-22T12:54:31.7004500Z 4308 | | }
2020-02-22T12:54:31.7004500Z 4308 | | }
2020-02-22T12:54:31.7005290Z      | |_- in this expansion of `uint_impl!`
2020-02-22T12:54:31.7005851Z ...
2020-02-22T12:54:31.7006740Z 4816 | /     uint_impl! { u32, u32, 32, 4294967295, "", "", 8, "0x10000b3", "0xb301", "0x12345678",
2020-02-22T12:54:31.7008074Z 4817 | |     "0x78563412", "0x1e6a2c48", "[0x78, 0x56, 0x34, 0x12]", "[0x12, 0x34, 0x56, 0x78]", "", "" }
2020-02-22T12:54:31.7010483Z      |
2020-02-22T12:54:31.7010483Z      |
2020-02-22T12:54:31.7011329Z      = note: for more information, see issue ***/issues/57563
2020-02-22T12:54:31.7012292Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T12:54:31.7028212Z 
2020-02-22T12:54:31.7794952Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<[u8; 8], u64>` is not stable as `const fn`
2020-02-22T12:54:31.7795764Z     --> src/libcore/num/mod.rs:4304:26
2020-02-22T12:54:31.7796804Z 2439 | / macro_rules! uint_impl {
---
2020-02-22T12:54:37.3910439Z   local time: Sat Feb 22 12:54:37 UTC 2020
2020-02-22T12:54:37.7872289Z   network time: Sat, 22 Feb 2020 12:54:37 GMT
2020-02-22T12:54:37.7877579Z == end clock drift check ==
2020-02-22T12:54:38.6125894Z 
2020-02-22T12:54:38.6161899Z ##[error]Bash exited with code '1'.
2020-02-22T12:54:38.6173131Z ##[section]Finishing: Run build
2020-02-22T12:54:38.6216705Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/69373/merge to s
2020-02-22T12:54:38.6222738Z Task         : Get sources
2020-02-22T12:54:38.6223060Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-02-22T12:54:38.6223360Z Version      : 1.0.0
2020-02-22T12:54:38.6223823Z Author       : Microsoft
2020-02-22T12:54:38.6223823Z Author       : Microsoft
2020-02-22T12:54:38.6224654Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2020-02-22T12:54:38.6225512Z ==============================================================================
2020-02-22T12:54:38.9693208Z Cleaning any cached credential from repository: rust-lang/rust (GitHub)
2020-02-22T12:54:38.9733222Z ##[section]Finishing: Checkout rust-lang/rust@refs/pull/69373/merge to s
2020-02-22T12:54:38.9824138Z Cleaning up task key
2020-02-22T12:54:38.9825238Z Start cleaning up orphan processes.
2020-02-22T12:54:39.0020078Z Terminate orphan process: pid (4889) (python)
2020-02-22T12:54:39.0225242Z ##[section]Finishing: Finalize Job

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

All of these functions can be implemented simply and naturally as
const functions, e.g. u32::from_le_bytes can be implemented as

    (bytes[0] as u32)
        | (bytes[1] as u32) << 8
        | (bytes[2] as u32) << 16
        | (bytes[3] as u32) << 24

So stabilizing the constness will not expose that internally they are
implemented using transmute which is not const in stable.
@tspiteri
Copy link
Contributor Author

Hmm, I tried to allow_internal_unstable(const_transmute) just like for example abs and wrapping_abs allow_internal_unstable(const_if_match), but it seems to not work, and I have no idea why not.

@rust-highfive
Copy link
Collaborator

The job mingw-check of your PR failed (pretty log, raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
2020-02-22T13:20:09.3100763Z ========================== Starting Command Output ===========================
2020-02-22T13:20:09.3104246Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/3cf37151-c0ea-4fbe-8e34-753d22628c2e.sh
2020-02-22T13:20:09.3104582Z 
2020-02-22T13:20:09.3107926Z ##[section]Finishing: Disable git automatic line ending conversion
2020-02-22T13:20:09.3123541Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/69373/merge to s
2020-02-22T13:20:09.3126792Z Task         : Get sources
2020-02-22T13:20:09.3127010Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-02-22T13:20:09.3127308Z Version      : 1.0.0
2020-02-22T13:20:09.3127454Z Author       : Microsoft
---
2020-02-22T13:20:12.2310592Z ##[command]git remote add origin https://github.com/rust-lang/rust
2020-02-22T13:20:12.2319094Z ##[command]git config gc.auto 0
2020-02-22T13:20:12.2323706Z ##[command]git config --get-all http.https://github.com/rust-lang/rust.extraheader
2020-02-22T13:20:12.2330173Z ##[command]git config --get-all http.proxy
2020-02-22T13:20:12.2340757Z ##[command]git -c http.extraheader="AUTHORIZATION: basic ***" fetch --force --tags --prune --progress --no-recurse-submodules --depth=2 origin +refs/heads/*:refs/remotes/origin/* +refs/pull/69373/merge:refs/remotes/pull/69373/merge
---
2020-02-22T13:25:53.4113888Z    Compiling libc v0.2.66
2020-02-22T13:25:54.8057326Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<i8, [u8; 1]>` is not stable as `const fn`
2020-02-22T13:25:54.8058955Z     --> src/libcore/num/mod.rs:2259:26
2020-02-22T13:25:54.8059637Z      |
2020-02-22T13:25:54.8060623Z 256  | / macro_rules! int_impl {
2020-02-22T13:25:54.8061591Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T13:25:54.8062598Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T13:25:54.8063657Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T13:25:54.8064926Z 2259 | |                 unsafe { mem::transmute(self) }
2020-02-22T13:25:54.8065629Z      | |                          ^^^^^^^^^^^^^^^^^^^^
2020-02-22T13:25:54.8066134Z ...    |
2020-02-22T13:25:54.8066626Z 2372 | |     }
2020-02-22T13:25:54.8066626Z 2372 | |     }
2020-02-22T13:25:54.8067159Z 2373 | | }
2020-02-22T13:25:54.8067752Z      | |_- in this expansion of `int_impl!`
2020-02-22T13:25:54.8068297Z ...
2020-02-22T13:25:54.8068913Z 2377 | /     int_impl! { i8, i8, u8, 8, -128, 127, "", "", 2, "-0x7e", "0xa", "0x12", "0x12", "0x48",
2020-02-22T13:25:54.8069639Z 2378 | |     "[0x12]", "[0x12]", "", "" }
2020-02-22T13:25:54.8070768Z      |
2020-02-22T13:25:54.8070768Z      |
2020-02-22T13:25:54.8071393Z      = note: for more information, see issue ***/issues/57563
2020-02-22T13:25:54.8072030Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T13:25:54.8617903Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<i16, [u8; 2]>` is not stable as `const fn`
2020-02-22T13:25:54.8618703Z     --> src/libcore/num/mod.rs:2259:26
2020-02-22T13:25:54.8619140Z      |
2020-02-22T13:25:54.8619650Z 256  | / macro_rules! int_impl {
2020-02-22T13:25:54.8619650Z 256  | / macro_rules! int_impl {
2020-02-22T13:25:54.8620457Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T13:25:54.8621439Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T13:25:54.8622307Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T13:25:54.8623504Z 2259 | |                 unsafe { mem::transmute(self) }
2020-02-22T13:25:54.8624197Z      | |                          ^^^^^^^^^^^^^^^^^^^^
2020-02-22T13:25:54.8624698Z ...    |
2020-02-22T13:25:54.8625356Z 2372 | |     }
2020-02-22T13:25:54.8625356Z 2372 | |     }
2020-02-22T13:25:54.8626112Z 2373 | | }
2020-02-22T13:25:54.8626743Z      | |_- in this expansion of `int_impl!`
2020-02-22T13:25:54.8627318Z ...
2020-02-22T13:25:54.8628078Z 2383 | /     int_impl! { i16, i16, u16, 16, -32768, 32767, "", "", 4, "-0x5ffd", "0x3a", "0x1234", "0x3412",
2020-02-22T13:25:54.8629233Z 2384 | |     "0x2c48", "[0x34, 0x12]", "[0x12, 0x34]", "", "" }
2020-02-22T13:25:54.8630470Z      |
2020-02-22T13:25:54.8630470Z      |
2020-02-22T13:25:54.8631095Z      = note: for more information, see issue ***/issues/57563
2020-02-22T13:25:54.8631928Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T13:25:54.9202818Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<i32, [u8; 4]>` is not stable as `const fn`
2020-02-22T13:25:54.9203589Z     --> src/libcore/num/mod.rs:2259:26
2020-02-22T13:25:54.9204047Z      |
2020-02-22T13:25:54.9204608Z 256  | / macro_rules! int_impl {
2020-02-22T13:25:54.9204608Z 256  | / macro_rules! int_impl {
2020-02-22T13:25:54.9205539Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T13:25:54.9206729Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T13:25:54.9207688Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T13:25:54.9208987Z 2259 | |                 unsafe { mem::transmute(self) }
2020-02-22T13:25:54.9209761Z      | |                          ^^^^^^^^^^^^^^^^^^^^
2020-02-22T13:25:54.9210293Z ...    |
2020-02-22T13:25:54.9210819Z 2372 | |     }
2020-02-22T13:25:54.9210819Z 2372 | |     }
2020-02-22T13:25:54.9211425Z 2373 | | }
2020-02-22T13:25:54.9212069Z      | |_- in this expansion of `int_impl!`
2020-02-22T13:25:54.9212643Z ...
2020-02-22T13:25:54.9213344Z 2389 | /     int_impl! { i32, i32, u32, 32, -2147483648, 2147483647, "", "", 8, "0x10000b3", "0xb301",
2020-02-22T13:25:54.9214217Z 2390 | |     "0x12345678", "0x78563412", "0x1e6a2c48", "[0x78, 0x56, 0x34, 0x12]",
2020-02-22T13:25:54.9214997Z 2391 | |     "[0x12, 0x34, 0x56, 0x78]", "", "" }
2020-02-22T13:25:54.9216254Z      |
2020-02-22T13:25:54.9216254Z      |
2020-02-22T13:25:54.9217064Z      = note: for more information, see issue ***/issues/57563
2020-02-22T13:25:54.9217803Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T13:25:54.9779016Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<i64, [u8; 8]>` is not stable as `const fn`
2020-02-22T13:25:54.9779736Z     --> src/libcore/num/mod.rs:2259:26
2020-02-22T13:25:54.9780157Z      |
2020-02-22T13:25:54.9780660Z 256  | / macro_rules! int_impl {
2020-02-22T13:25:54.9780660Z 256  | / macro_rules! int_impl {
2020-02-22T13:25:54.9781483Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T13:25:54.9782635Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T13:25:54.9783505Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T13:25:54.9784701Z 2259 | |                 unsafe { mem::transmute(self) }
2020-02-22T13:25:54.9785397Z      | |                          ^^^^^^^^^^^^^^^^^^^^
2020-02-22T13:25:54.9785905Z ...    |
2020-02-22T13:25:54.9786400Z 2372 | |     }
2020-02-22T13:25:54.9786400Z 2372 | |     }
2020-02-22T13:25:54.9786948Z 2373 | | }
2020-02-22T13:25:54.9787543Z      | |_- in this expansion of `int_impl!`
2020-02-22T13:25:54.9787948Z ...
2020-02-22T13:25:54.9788583Z 2396 | /     int_impl! { i64, i64, u64, 64, -9223372036854775808, 9223372036854775807, "", "", 12,
2020-02-22T13:25:54.9789386Z 2397 | |     "0xaa00000000006e1", "0x6e10aa", "0x1234567890123456", "0x5634129078563412",
2020-02-22T13:25:54.9790175Z 2398 | |     "0x6a2c48091e6a2c48", "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]",
2020-02-22T13:25:54.9790960Z 2399 | |     "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]", "", "" }
2020-02-22T13:25:54.9792241Z      |
2020-02-22T13:25:54.9792241Z      |
2020-02-22T13:25:54.9792863Z      = note: for more information, see issue ***/issues/57563
2020-02-22T13:25:54.9793521Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T13:25:55.0375372Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<i128, [u8; 16]>` is not stable as `const fn`
2020-02-22T13:25:55.0376435Z     --> src/libcore/num/mod.rs:2259:26
2020-02-22T13:25:55.0377260Z      |
2020-02-22T13:25:55.0378002Z 256  | / macro_rules! int_impl {
2020-02-22T13:25:55.0378002Z 256  | / macro_rules! int_impl {
2020-02-22T13:25:55.0378990Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T13:25:55.0380629Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T13:25:55.0382378Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T13:25:55.0384001Z 2259 | |                 unsafe { mem::transmute(self) }
2020-02-22T13:25:55.0385101Z      | |                          ^^^^^^^^^^^^^^^^^^^^
2020-02-22T13:25:55.0385620Z ...    |
2020-02-22T13:25:55.0386130Z 2372 | |     }
2020-02-22T13:25:55.0386130Z 2372 | |     }
2020-02-22T13:25:55.0386716Z 2373 | | }
2020-02-22T13:25:55.0387322Z      | |_- in this expansion of `int_impl!`
2020-02-22T13:25:55.0387750Z ...
2020-02-22T13:25:55.0388401Z 2404 | /     int_impl! { i128, i128, u128, 128, -170141183460469231731687303715884105728,
2020-02-22T13:25:55.0389386Z 2405 | |     170141183460469231731687303715884105727, "", "", 16,
2020-02-22T13:25:55.0390639Z 2406 | |     "0x13f40000000000000000000000004f76", "0x4f7613f4", "0x12345678901234567890123456789012",
2020-02-22T13:25:55.0391758Z 2407 | |     "0x12907856341290785634129078563412", "0x48091e6a2c48091e6a2c48091e6a2c48",
2020-02-22T13:25:55.0392505Z ...    |
2020-02-22T13:25:55.0393388Z 2410 | |     "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, \
2020-02-22T13:25:55.0394408Z 2411 | |       0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]", "", "" }
2020-02-22T13:25:55.0396174Z      |
2020-02-22T13:25:55.0396174Z      |
2020-02-22T13:25:55.0397022Z      = note: for more information, see issue ***/issues/57563
2020-02-22T13:25:55.0397906Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T13:25:55.0398263Z 
2020-02-22T13:25:55.0997787Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<isize, [u8; 8]>` is not stable as `const fn`
2020-02-22T13:25:55.0998957Z     --> src/libcore/num/mod.rs:2259:26
2020-02-22T13:25:55.1000727Z 256  | / macro_rules! int_impl {
2020-02-22T13:25:55.1000727Z 256  | / macro_rules! int_impl {
2020-02-22T13:25:55.1001763Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T13:25:55.1003016Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T13:25:55.1004248Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T13:25:55.1005851Z 2259 | |                 unsafe { mem::transmute(self) }
2020-02-22T13:25:55.1006722Z      | |                          ^^^^^^^^^^^^^^^^^^^^
2020-02-22T13:25:55.1007334Z ...    |
2020-02-22T13:25:55.1007960Z 2372 | |     }
2020-02-22T13:25:55.1007960Z 2372 | |     }
2020-02-22T13:25:55.1008619Z 2373 | | }
2020-02-22T13:25:55.1009347Z      | |_- in this expansion of `int_impl!`
2020-02-22T13:25:55.1009850Z ...
2020-02-22T13:25:55.1010610Z 2434 | /     int_impl! { isize, i64, u64, 64, -9223372036854775808, 9223372036854775807, "", "",
2020-02-22T13:25:55.1011641Z 2435 | |     12, "0xaa00000000006e1", "0x6e10aa",  "0x1234567890123456", "0x5634129078563412",
2020-02-22T13:25:55.1012753Z 2436 | |      "0x6a2c48091e6a2c48", "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]",
2020-02-22T13:25:55.1013717Z 2437 | |      "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]",
2020-02-22T13:25:55.1014832Z 2438 | |      usize_isize_to_xe_bytes_doc!(), usize_isize_from_xe_bytes_doc!() }
2020-02-22T13:25:55.1016657Z      |
2020-02-22T13:25:55.1016657Z      |
2020-02-22T13:25:55.1017497Z      = note: for more information, see issue ***/issues/57563
2020-02-22T13:25:55.1018718Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T13:25:55.1019219Z 
2020-02-22T13:25:55.1565286Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<[u8; 1], i8>` is not stable as `const fn`
2020-02-22T13:25:55.1566357Z     --> src/libcore/num/mod.rs:2369:26
2020-02-22T13:25:55.1568434Z 256  | / macro_rules! int_impl {
2020-02-22T13:25:55.1568434Z 256  | / macro_rules! int_impl {
2020-02-22T13:25:55.1569751Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T13:25:55.1571420Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T13:25:55.1572515Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T13:25:55.1573192Z ...    |
2020-02-22T13:25:55.1576174Z 2369 | |                 unsafe { mem::transmute(bytes) }
2020-02-22T13:25:55.1578975Z ...    |
2020-02-22T13:25:55.1579894Z 2372 | |     }
2020-02-22T13:25:55.1580880Z 2373 | | }
2020-02-22T13:25:55.1581709Z      | |_- in this expansion of `int_impl!`
2020-02-22T13:25:55.1581709Z      | |_- in this expansion of `int_impl!`
2020-02-22T13:25:55.1582434Z ...
2020-02-22T13:25:55.1583299Z 2377 | /     int_impl! { i8, i8, u8, 8, -128, 127, "", "", 2, "-0x7e", "0xa", "0x12", "0x12", "0x48",
2020-02-22T13:25:55.1584280Z 2378 | |     "[0x12]", "[0x12]", "", "" }
2020-02-22T13:25:55.1586407Z      |
2020-02-22T13:25:55.1586407Z      |
2020-02-22T13:25:55.1587685Z      = note: for more information, see issue ***/issues/57563
2020-02-22T13:25:55.1588570Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T13:25:55.1588930Z 
2020-02-22T13:25:55.2174359Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<[u8; 2], i16>` is not stable as `const fn`
2020-02-22T13:25:55.2175201Z     --> src/libcore/num/mod.rs:2369:26
2020-02-22T13:25:55.2176271Z 256  | / macro_rules! int_impl {
2020-02-22T13:25:55.2176271Z 256  | / macro_rules! int_impl {
2020-02-22T13:25:55.2177297Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T13:25:55.2178484Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T13:25:55.2179641Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T13:25:55.2180526Z ...    |
2020-02-22T13:25:55.2181692Z 2369 | |                 unsafe { mem::transmute(bytes) }
2020-02-22T13:25:55.2183531Z ...    |
2020-02-22T13:25:55.2184141Z 2372 | |     }
2020-02-22T13:25:55.2184788Z 2373 | | }
2020-02-22T13:25:55.2185487Z      | |_- in this expansion of `int_impl!`
2020-02-22T13:25:55.2185487Z      | |_- in this expansion of `int_impl!`
2020-02-22T13:25:55.2186002Z ...
2020-02-22T13:25:55.2186772Z 2383 | /     int_impl! { i16, i16, u16, 16, -32768, 32767, "", "", 4, "-0x5ffd", "0x3a", "0x1234", "0x3412",
2020-02-22T13:25:55.2187724Z 2384 | |     "0x2c48", "[0x34, 0x12]", "[0x12, 0x34]", "", "" }
2020-02-22T13:25:55.2189584Z      |
2020-02-22T13:25:55.2189584Z      |
2020-02-22T13:25:55.2190358Z      = note: for more information, see issue ***/issues/57563
2020-02-22T13:25:55.2191189Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T13:25:55.2191524Z 
2020-02-22T13:25:55.2974322Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<[u8; 4], i32>` is not stable as `const fn`
2020-02-22T13:25:55.2975220Z     --> src/libcore/num/mod.rs:2369:26
2020-02-22T13:25:55.2976330Z 256  | / macro_rules! int_impl {
2020-02-22T13:25:55.2976330Z 256  | / macro_rules! int_impl {
2020-02-22T13:25:55.2977347Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T13:25:55.2978531Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T13:25:55.2980513Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T13:25:55.2983140Z ...    |
2020-02-22T13:25:55.2984767Z 2369 | |                 unsafe { mem::transmute(bytes) }
2020-02-22T13:25:55.2986900Z ...    |
2020-02-22T13:25:55.2987780Z 2372 | |     }
2020-02-22T13:25:55.2988752Z 2373 | | }
2020-02-22T13:25:55.2989560Z      | |_- in this expansion of `int_impl!`
2020-02-22T13:25:55.2989560Z      | |_- in this expansion of `int_impl!`
2020-02-22T13:25:55.2990621Z ...
2020-02-22T13:25:55.2992080Z 2389 | /     int_impl! { i32, i32, u32, 32, -2147483648, 2147483647, "", "", 8, "0x10000b3", "0xb301",
2020-02-22T13:25:55.2993435Z 2390 | |     "0x12345678", "0x78563412", "0x1e6a2c48", "[0x78, 0x56, 0x34, 0x12]",
2020-02-22T13:25:55.2994458Z 2391 | |     "[0x12, 0x34, 0x56, 0x78]", "", "" }
2020-02-22T13:25:55.2996048Z      |
2020-02-22T13:25:55.2996048Z      |
2020-02-22T13:25:55.2996886Z      = note: for more information, see issue ***/issues/57563
2020-02-22T13:25:55.2997773Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T13:25:55.2998130Z 
2020-02-22T13:25:55.3669487Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<[u8; 8], i64>` is not stable as `const fn`
2020-02-22T13:25:55.3670808Z     --> src/libcore/num/mod.rs:2369:26
2020-02-22T13:25:55.3671994Z 256  | / macro_rules! int_impl {
2020-02-22T13:25:55.3671994Z 256  | / macro_rules! int_impl {
2020-02-22T13:25:55.3673121Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T13:25:55.3674436Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T13:25:55.3675682Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T13:25:55.3676458Z ...    |
2020-02-22T13:25:55.3677297Z 2369 | |                 unsafe { mem::transmute(bytes) }
2020-02-22T13:25:55.3679054Z ...    |
2020-02-22T13:25:55.3679856Z 2372 | |     }
2020-02-22T13:25:55.3680529Z 2373 | | }
2020-02-22T13:25:55.3681256Z      | |_- in this expansion of `int_impl!`
2020-02-22T13:25:55.3681256Z      | |_- in this expansion of `int_impl!`
2020-02-22T13:25:55.3681782Z ...
2020-02-22T13:25:55.3682560Z 2396 | /     int_impl! { i64, i64, u64, 64, -9223372036854775808, 9223372036854775807, "", "", 12,
2020-02-22T13:25:55.3683586Z 2397 | |     "0xaa00000000006e1", "0x6e10aa", "0x1234567890123456", "0x5634129078563412",
2020-02-22T13:25:55.3684609Z 2398 | |     "0x6a2c48091e6a2c48", "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]",
2020-02-22T13:25:55.3685563Z 2399 | |     "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]", "", "" }
2020-02-22T13:25:55.3687184Z      |
2020-02-22T13:25:55.3687184Z      |
2020-02-22T13:25:55.3688100Z      = note: for more information, see issue ***/issues/57563
2020-02-22T13:25:55.3688952Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T13:25:55.3689285Z 
2020-02-22T13:25:55.4429190Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<[u8; 16], i128>` is not stable as `const fn`
2020-02-22T13:25:55.4430282Z     --> src/libcore/num/mod.rs:2369:26
2020-02-22T13:25:55.4431440Z 256  | / macro_rules! int_impl {
2020-02-22T13:25:55.4431440Z 256  | / macro_rules! int_impl {
2020-02-22T13:25:55.4432526Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T13:25:55.4434034Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T13:25:55.4435174Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T13:25:55.4435928Z ...    |
2020-02-22T13:25:55.4436728Z 2369 | |                 unsafe { mem::transmute(bytes) }
2020-02-22T13:25:55.4438290Z ...    |
2020-02-22T13:25:55.4438941Z 2372 | |     }
2020-02-22T13:25:55.4439637Z 2373 | | }
2020-02-22T13:25:55.4440487Z      | |_- in this expansion of `int_impl!`
2020-02-22T13:25:55.4440487Z      | |_- in this expansion of `int_impl!`
2020-02-22T13:25:55.4441011Z ...
2020-02-22T13:25:55.4441778Z 2404 | /     int_impl! { i128, i128, u128, 128, -170141183460469231731687303715884105728,
2020-02-22T13:25:55.4442769Z 2405 | |     170141183460469231731687303715884105727, "", "", 16,
2020-02-22T13:25:55.4443801Z 2406 | |     "0x13f40000000000000000000000004f76", "0x4f7613f4", "0x12345678901234567890123456789012",
2020-02-22T13:25:55.4444897Z 2407 | |     "0x12907856341290785634129078563412", "0x48091e6a2c48091e6a2c48091e6a2c48",
2020-02-22T13:25:55.4445610Z ...    |
2020-02-22T13:25:55.4446371Z 2410 | |     "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, \
2020-02-22T13:25:55.4447436Z 2411 | |       0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]", "", "" }
2020-02-22T13:25:55.4449090Z      |
2020-02-22T13:25:55.4449090Z      |
2020-02-22T13:25:55.4449997Z      = note: for more information, see issue ***/issues/57563
2020-02-22T13:25:55.4450890Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T13:25:55.4768414Z    Compiling autocfg v0.1.7
2020-02-22T13:25:55.4768414Z    Compiling autocfg v0.1.7
2020-02-22T13:25:55.5352992Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<[u8; 8], isize>` is not stable as `const fn`
2020-02-22T13:25:55.5353962Z     --> src/libcore/num/mod.rs:2369:26
2020-02-22T13:25:55.5355174Z 256  | / macro_rules! int_impl {
2020-02-22T13:25:55.5355174Z 256  | / macro_rules! int_impl {
2020-02-22T13:25:55.5356314Z 257  | |     ($SelfT:ty, $ActualT:ident, $UnsignedT:ty, $BITS:expr, $Min:expr, $Max:expr, $Feature:expr,
2020-02-22T13:25:55.5357928Z 258  | |      $EndFeature:expr, $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T13:25:55.5359119Z 259  | |      $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T13:25:55.5359890Z ...    |
2020-02-22T13:25:55.5360818Z 2369 | |                 unsafe { mem::transmute(bytes) }
2020-02-22T13:25:55.5362444Z ...    |
2020-02-22T13:25:55.5363145Z 2372 | |     }
2020-02-22T13:25:55.5363872Z 2373 | | }
2020-02-22T13:25:55.5364674Z      | |_- in this expansion of `int_impl!`
2020-02-22T13:25:55.5364674Z      | |_- in this expansion of `int_impl!`
2020-02-22T13:25:55.5365227Z ...
2020-02-22T13:25:55.5366050Z 2434 | /     int_impl! { isize, i64, u64, 64, -9223372036854775808, 9223372036854775807, "", "",
2020-02-22T13:25:55.5367180Z 2435 | |     12, "0xaa00000000006e1", "0x6e10aa",  "0x1234567890123456", "0x5634129078563412",
2020-02-22T13:25:55.5368344Z 2436 | |      "0x6a2c48091e6a2c48", "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]",
2020-02-22T13:25:55.5369364Z 2437 | |      "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]",
2020-02-22T13:25:55.5370384Z 2438 | |      usize_isize_to_xe_bytes_doc!(), usize_isize_from_xe_bytes_doc!() }
2020-02-22T13:25:55.5372167Z      |
2020-02-22T13:25:55.5372167Z      |
2020-02-22T13:25:55.5373400Z      = note: for more information, see issue ***/issues/57563
2020-02-22T13:25:55.5374309Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T13:25:55.5374818Z 
2020-02-22T13:25:55.6786961Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<u8, [u8; 1]>` is not stable as `const fn`
2020-02-22T13:25:55.6787672Z     --> src/libcore/num/mod.rs:4198:26
2020-02-22T13:25:55.6788575Z 2441 | / macro_rules! uint_impl {
2020-02-22T13:25:55.6788575Z 2441 | / macro_rules! uint_impl {
2020-02-22T13:25:55.6789383Z 2442 | |     ($SelfT:ty, $ActualT:ty, $BITS:expr, $MaxV:expr, $Feature:expr, $EndFeature:expr,
2020-02-22T13:25:55.6790293Z 2443 | |         $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T13:25:55.6791391Z 2444 | |         $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T13:25:55.6792568Z 4198 | |                 unsafe { mem::transmute(self) }
2020-02-22T13:25:55.6793274Z      | |                          ^^^^^^^^^^^^^^^^^^^^
2020-02-22T13:25:55.6793812Z ...    |
2020-02-22T13:25:55.6794292Z 4311 | |     }
2020-02-22T13:25:55.6794292Z 4311 | |     }
2020-02-22T13:25:55.6794841Z 4312 | | }
2020-02-22T13:25:55.6795796Z      | |_- in this expansion of `uint_impl!`
2020-02-22T13:25:55.6796511Z ...
2020-02-22T13:25:55.6797347Z 4316 | /     uint_impl! { u8, u8, 8, 255, "", "", 2, "0x82", "0xa", "0x12", "0x12", "0x48", "[0x12]",
2020-02-22T13:25:55.6798282Z 4317 | |     "[0x12]", "", "" }
2020-02-22T13:25:55.6799779Z      |
2020-02-22T13:25:55.6799779Z      |
2020-02-22T13:25:55.6800637Z      = note: for more information, see issue ***/issues/57563
2020-02-22T13:25:55.6801511Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T13:25:55.6801898Z 
2020-02-22T13:25:55.7239306Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<u16, [u8; 2]>` is not stable as `const fn`
2020-02-22T13:25:55.7240370Z     --> src/libcore/num/mod.rs:4198:26
2020-02-22T13:25:55.7242122Z 2441 | / macro_rules! uint_impl {
2020-02-22T13:25:55.7242122Z 2441 | / macro_rules! uint_impl {
2020-02-22T13:25:55.7243085Z 2442 | |     ($SelfT:ty, $ActualT:ty, $BITS:expr, $MaxV:expr, $Feature:expr, $EndFeature:expr,
2020-02-22T13:25:55.7244092Z 2443 | |         $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T13:25:55.7245275Z 2444 | |         $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T13:25:55.7246591Z 4198 | |                 unsafe { mem::transmute(self) }
2020-02-22T13:25:55.7247347Z      | |                          ^^^^^^^^^^^^^^^^^^^^
2020-02-22T13:25:55.7247866Z ...    |
2020-02-22T13:25:55.7248390Z 4311 | |     }
2020-02-22T13:25:55.7248390Z 4311 | |     }
2020-02-22T13:25:55.7248988Z 4312 | | }
2020-02-22T13:25:55.7249609Z      | |_- in this expansion of `uint_impl!`
2020-02-22T13:25:55.7250222Z ...
2020-02-22T13:25:55.7250898Z 4814 | /     uint_impl! { u16, u16, 16, 65535, "", "", 4, "0xa003", "0x3a", "0x1234", "0x3412", "0x2c48",
2020-02-22T13:25:55.7251678Z 4815 | |     "[0x34, 0x12]", "[0x12, 0x34]", "", "" }
2020-02-22T13:25:55.7253098Z      |
2020-02-22T13:25:55.7253098Z      |
2020-02-22T13:25:55.7253783Z      = note: for more information, see issue ***/issues/57563
2020-02-22T13:25:55.7254479Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T13:25:55.7254939Z 
2020-02-22T13:25:55.7989354Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<u32, [u8; 4]>` is not stable as `const fn`
2020-02-22T13:25:55.7990742Z     --> src/libcore/num/mod.rs:4198:26
2020-02-22T13:25:55.7992349Z 2441 | / macro_rules! uint_impl {
2020-02-22T13:25:55.7992349Z 2441 | / macro_rules! uint_impl {
2020-02-22T13:25:55.7993597Z 2442 | |     ($SelfT:ty, $ActualT:ty, $BITS:expr, $MaxV:expr, $Feature:expr, $EndFeature:expr,
2020-02-22T13:25:55.7995042Z 2443 | |         $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T13:25:55.7996458Z 2444 | |         $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T13:25:55.7998415Z 4198 | |                 unsafe { mem::transmute(self) }
2020-02-22T13:25:55.7999553Z      | |                          ^^^^^^^^^^^^^^^^^^^^
2020-02-22T13:25:55.8000391Z ...    |
2020-02-22T13:25:55.8001234Z 4311 | |     }
2020-02-22T13:25:55.8001234Z 4311 | |     }
2020-02-22T13:25:55.8002134Z 4312 | | }
2020-02-22T13:25:55.8003331Z      | |_- in this expansion of `uint_impl!`
2020-02-22T13:25:55.8004160Z ...
2020-02-22T13:25:55.8005178Z 4820 | /     uint_impl! { u32, u32, 32, 4294967295, "", "", 8, "0x10000b3", "0xb301", "0x12345678",
2020-02-22T13:25:55.8006526Z 4821 | |     "0x78563412", "0x1e6a2c48", "[0x78, 0x56, 0x34, 0x12]", "[0x12, 0x34, 0x56, 0x78]", "", "" }
2020-02-22T13:25:55.8009566Z      |
2020-02-22T13:25:55.8009566Z      |
2020-02-22T13:25:55.8010491Z      = note: for more information, see issue ***/issues/57563
2020-02-22T13:25:55.8011584Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T13:25:55.8011945Z 
2020-02-22T13:25:55.8675945Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<u64, [u8; 8]>` is not stable as `const fn`
2020-02-22T13:25:55.8679031Z     --> src/libcore/num/mod.rs:4198:26
2020-02-22T13:25:55.8680431Z 2441 | / macro_rules! uint_impl {
2020-02-22T13:25:55.8680431Z 2441 | / macro_rules! uint_impl {
2020-02-22T13:25:55.8681936Z 2442 | |     ($SelfT:ty, $ActualT:ty, $BITS:expr, $MaxV:expr, $Feature:expr, $EndFeature:expr,
2020-02-22T13:25:55.8683314Z 2443 | |         $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T13:25:55.8686568Z 2444 | |         $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T13:25:55.8688529Z 4198 | |                 unsafe { mem::transmute(self) }
2020-02-22T13:25:55.8689775Z      | |                          ^^^^^^^^^^^^^^^^^^^^
2020-02-22T13:25:55.8690546Z ...    |
2020-02-22T13:25:55.8691121Z 4311 | |     }
2020-02-22T13:25:55.8691121Z 4311 | |     }
2020-02-22T13:25:55.8693047Z 4312 | | }
2020-02-22T13:25:55.8693774Z      | |_- in this expansion of `uint_impl!`
2020-02-22T13:25:55.8694265Z ...
2020-02-22T13:25:55.8695020Z 4826 | /     uint_impl! { u64, u64, 64, 18446744073709551615, "", "", 12, "0xaa00000000006e1", "0x6e10aa",
2020-02-22T13:25:55.8695989Z 4827 | |     "0x1234567890123456", "0x5634129078563412", "0x6a2c48091e6a2c48",
2020-02-22T13:25:55.8696857Z 4828 | |     "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]",
2020-02-22T13:25:55.8697907Z 4829 | |     "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]",
2020-02-22T13:25:55.8698705Z 4830 | |     "", ""}
2020-02-22T13:25:55.8699953Z      |
2020-02-22T13:25:55.8699953Z      |
2020-02-22T13:25:55.8700833Z      = note: for more information, see issue ***/issues/57563
2020-02-22T13:25:55.8701591Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T13:25:55.8701891Z 
2020-02-22T13:25:55.9394818Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<u128, [u8; 16]>` is not stable as `const fn`
2020-02-22T13:25:55.9395854Z     --> src/libcore/num/mod.rs:4198:26
2020-02-22T13:25:55.9397532Z 2441 | / macro_rules! uint_impl {
2020-02-22T13:25:55.9397532Z 2441 | / macro_rules! uint_impl {
2020-02-22T13:25:55.9398927Z 2442 | |     ($SelfT:ty, $ActualT:ty, $BITS:expr, $MaxV:expr, $Feature:expr, $EndFeature:expr,
2020-02-22T13:25:55.9400104Z 2443 | |         $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T13:25:55.9401333Z 2444 | |         $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T13:25:55.9402814Z 4198 | |                 unsafe { mem::transmute(self) }
2020-02-22T13:25:55.9403686Z      | |                          ^^^^^^^^^^^^^^^^^^^^
2020-02-22T13:25:55.9404294Z ...    |
2020-02-22T13:25:55.9405119Z 4311 | |     }
2020-02-22T13:25:55.9405119Z 4311 | |     }
2020-02-22T13:25:55.9405808Z 4312 | | }
2020-02-22T13:25:55.9406551Z      | |_- in this expansion of `uint_impl!`
2020-02-22T13:25:55.9407092Z ...
2020-02-22T13:25:55.9407867Z 4835 | /     uint_impl! { u128, u128, 128, 340282366920938463463374607431768211455, "", "", 16,
2020-02-22T13:25:55.9409113Z 4836 | |     "0x13f40000000000000000000000004f76", "0x4f7613f4", "0x12345678901234567890123456789012",
2020-02-22T13:25:55.9410118Z 4837 | |     "0x12907856341290785634129078563412", "0x48091e6a2c48091e6a2c48091e6a2c48",
2020-02-22T13:25:55.9411034Z 4838 | |     "[0x12, 0x90, 0x78, 0x56, 0x34, 0x12, 0x90, 0x78, \
2020-02-22T13:25:55.9411690Z ...    |
2020-02-22T13:25:55.9412687Z 4841 | |       0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12]",
2020-02-22T13:25:55.9413614Z 4842 | |      "", ""}
2020-02-22T13:25:55.9414978Z      |
2020-02-22T13:25:55.9414978Z      |
2020-02-22T13:25:55.9415760Z      = note: for more information, see issue ***/issues/57563
2020-02-22T13:25:55.9416551Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T13:25:55.9416870Z 
2020-02-22T13:25:55.9952141Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<usize, [u8; 8]>` is not stable as `const fn`
2020-02-22T13:25:55.9953992Z     --> src/libcore/num/mod.rs:4198:26
2020-02-22T13:25:55.9955565Z 2441 | / macro_rules! uint_impl {
2020-02-22T13:25:55.9955565Z 2441 | / macro_rules! uint_impl {
2020-02-22T13:25:55.9956661Z 2442 | |     ($SelfT:ty, $ActualT:ty, $BITS:expr, $MaxV:expr, $Feature:expr, $EndFeature:expr,
2020-02-22T13:25:55.9957945Z 2443 | |         $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T13:25:55.9959105Z 2444 | |         $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T13:25:55.9961786Z 4198 | |                 unsafe { mem::transmute(self) }
2020-02-22T13:25:55.9962949Z      | |                          ^^^^^^^^^^^^^^^^^^^^
2020-02-22T13:25:55.9963512Z ...    |
2020-02-22T13:25:55.9964052Z 4311 | |     }
2020-02-22T13:25:55.9964052Z 4311 | |     }
2020-02-22T13:25:55.9964639Z 4312 | | }
2020-02-22T13:25:55.9965288Z      | |_- in this expansion of `uint_impl!`
2020-02-22T13:25:55.9966055Z ...
2020-02-22T13:25:55.9966694Z 4863 | /     uint_impl! { usize, u64, 64, 18446744073709551615, "", "", 12, "0xaa00000000006e1", "0x6e10aa",
2020-02-22T13:25:55.9967732Z 4864 | |     "0x1234567890123456", "0x5634129078563412", "0x6a2c48091e6a2c48",
2020-02-22T13:25:55.9968510Z 4865 | |     "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]",
2020-02-22T13:25:55.9969280Z 4866 | |      "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]",
2020-02-22T13:25:55.9970604Z 4867 | |     usize_isize_to_xe_bytes_doc!(), usize_isize_from_xe_bytes_doc!() }
2020-02-22T13:25:55.9972307Z      |
2020-02-22T13:25:55.9972307Z      |
2020-02-22T13:25:55.9973687Z      = note: for more information, see issue ***/issues/57563
2020-02-22T13:25:55.9974478Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T13:25:55.9974770Z 
2020-02-22T13:25:56.0673236Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<[u8; 1], u8>` is not stable as `const fn`
2020-02-22T13:25:56.0674059Z     --> src/libcore/num/mod.rs:4308:26
2020-02-22T13:25:56.0675582Z 2441 | / macro_rules! uint_impl {
2020-02-22T13:25:56.0675582Z 2441 | / macro_rules! uint_impl {
2020-02-22T13:25:56.0676879Z 2442 | |     ($SelfT:ty, $ActualT:ty, $BITS:expr, $MaxV:expr, $Feature:expr, $EndFeature:expr,
2020-02-22T13:25:56.0678420Z 2443 | |         $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T13:25:56.0679782Z 2444 | |         $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T13:25:56.0680607Z ...    |
2020-02-22T13:25:56.0681456Z 4308 | |                 unsafe { mem::transmute(bytes) }
2020-02-22T13:25:56.0682945Z ...    |
2020-02-22T13:25:56.0683500Z 4311 | |     }
2020-02-22T13:25:56.0684106Z 4312 | | }
2020-02-22T13:25:56.0684106Z 4312 | | }
2020-02-22T13:25:56.0684746Z      | |_- in this expansion of `uint_impl!`
2020-02-22T13:25:56.0685208Z ...
2020-02-22T13:25:56.0686064Z 4316 | /     uint_impl! { u8, u8, 8, 255, "", "", 2, "0x82", "0xa", "0x12", "0x12", "0x48", "[0x12]",
2020-02-22T13:25:56.0687224Z 4317 | |     "[0x12]", "", "" }
2020-02-22T13:25:56.0688901Z      |
2020-02-22T13:25:56.0688901Z      |
2020-02-22T13:25:56.0689858Z      = note: for more information, see issue ***/issues/57563
2020-02-22T13:25:56.0690820Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T13:25:56.0691295Z 
2020-02-22T13:25:56.1488346Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<[u8; 2], u16>` is not stable as `const fn`
2020-02-22T13:25:56.1489607Z     --> src/libcore/num/mod.rs:4308:26
2020-02-22T13:25:56.1491546Z 2441 | / macro_rules! uint_impl {
2020-02-22T13:25:56.1491546Z 2441 | / macro_rules! uint_impl {
2020-02-22T13:25:56.1492919Z 2442 | |     ($SelfT:ty, $ActualT:ty, $BITS:expr, $MaxV:expr, $Feature:expr, $EndFeature:expr,
2020-02-22T13:25:56.1494604Z 2443 | |         $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T13:25:56.1495632Z 2444 | |         $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T13:25:56.1496781Z ...    |
2020-02-22T13:25:56.1497415Z 4308 | |                 unsafe { mem::transmute(bytes) }
2020-02-22T13:25:56.1498650Z ...    |
2020-02-22T13:25:56.1499150Z 4311 | |     }
2020-02-22T13:25:56.1499822Z 4312 | | }
2020-02-22T13:25:56.1499822Z 4312 | | }
2020-02-22T13:25:56.1500614Z      | |_- in this expansion of `uint_impl!`
2020-02-22T13:25:56.1501045Z ...
2020-02-22T13:25:56.1501944Z 4814 | /     uint_impl! { u16, u16, 16, 65535, "", "", 4, "0xa003", "0x3a", "0x1234", "0x3412", "0x2c48",
2020-02-22T13:25:56.1502935Z 4815 | |     "[0x34, 0x12]", "[0x12, 0x34]", "", "" }
2020-02-22T13:25:56.1504410Z      |
2020-02-22T13:25:56.1504410Z      |
2020-02-22T13:25:56.1505070Z      = note: for more information, see issue ***/issues/57563
2020-02-22T13:25:56.1505940Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T13:25:56.1506207Z 
2020-02-22T13:25:56.2109240Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<[u8; 4], u32>` is not stable as `const fn`
2020-02-22T13:25:56.2110211Z     --> src/libcore/num/mod.rs:4308:26
2020-02-22T13:25:56.2112100Z 2441 | / macro_rules! uint_impl {
2020-02-22T13:25:56.2112100Z 2441 | / macro_rules! uint_impl {
2020-02-22T13:25:56.2113241Z 2442 | |     ($SelfT:ty, $ActualT:ty, $BITS:expr, $MaxV:expr, $Feature:expr, $EndFeature:expr,
2020-02-22T13:25:56.2114534Z 2443 | |         $rot:expr, $rot_op:expr, $rot_result:expr, $swap_op:expr, $swapped:expr,
2020-02-22T13:25:56.2116247Z 2444 | |         $reversed:expr, $le_bytes:expr, $be_bytes:expr,
2020-02-22T13:25:56.2117040Z ...    |
2020-02-22T13:25:56.2118203Z 4308 | |                 unsafe { mem::transmute(bytes) }
2020-02-22T13:25:56.2119473Z ...    |
2020-02-22T13:25:56.2119986Z 4311 | |     }
2020-02-22T13:25:56.2120712Z 4312 | | }
2020-02-22T13:25:56.2120712Z 4312 | | }
2020-02-22T13:25:56.2121539Z      | |_- in this expansion of `uint_impl!`
2020-02-22T13:25:56.2121961Z ...
2020-02-22T13:25:56.2122610Z 4820 | /     uint_impl! { u32, u32, 32, 4294967295, "", "", 8, "0x10000b3", "0xb301", "0x12345678",
2020-02-22T13:25:56.2123478Z 4821 | |     "0x78563412", "0x1e6a2c48", "[0x78, 0x56, 0x34, 0x12]", "[0x12, 0x34, 0x56, 0x78]", "", "" }
2020-02-22T13:25:56.2125219Z      |
2020-02-22T13:25:56.2125219Z      |
2020-02-22T13:25:56.2125867Z      = note: for more information, see issue ***/issues/57563
2020-02-22T13:25:56.2126528Z      = help: add `#![feature(const_fn)]` to the crate attributes to enable
2020-02-22T13:25:56.2126795Z 
2020-02-22T13:25:56.2664087Z error[E0723]: can only call other `const fn` within a `const fn`, but `const intrinsics::transmute::<[u8; 8], u64>` is not stable as `const fn`
2020-02-22T13:25:56.2664795Z     --> src/libcore/num/mod.rs:4308:26
2020-02-22T13:25:56.2665683Z 2441 | / macro_rules! uint_impl {
---
2020-02-22T13:25:59.5680728Z   local time: Sat Feb 22 13:25:59 UTC 2020
2020-02-22T13:25:59.8581301Z   network time: Sat, 22 Feb 2020 13:25:59 GMT
2020-02-22T13:25:59.8587710Z == end clock drift check ==
2020-02-22T13:26:01.0653241Z 
2020-02-22T13:26:01.0739515Z ##[error]Bash exited with code '1'.
2020-02-22T13:26:01.0751562Z ##[section]Finishing: Run build
2020-02-22T13:26:01.0791768Z ##[section]Starting: Checkout rust-lang/rust@refs/pull/69373/merge to s
2020-02-22T13:26:01.0797684Z Task         : Get sources
2020-02-22T13:26:01.0797965Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2020-02-22T13:26:01.0798250Z Version      : 1.0.0
2020-02-22T13:26:01.0798435Z Author       : Microsoft
2020-02-22T13:26:01.0798435Z Author       : Microsoft
2020-02-22T13:26:01.0798720Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2020-02-22T13:26:01.0799294Z ==============================================================================
2020-02-22T13:26:01.3864012Z Cleaning any cached credential from repository: rust-lang/rust (GitHub)
2020-02-22T13:26:01.3932606Z ##[section]Finishing: Checkout rust-lang/rust@refs/pull/69373/merge to s
2020-02-22T13:26:01.4029651Z Cleaning up task key
2020-02-22T13:26:01.4031019Z Start cleaning up orphan processes.
2020-02-22T13:26:01.4318722Z Terminate orphan process: pid (5115) (python)
2020-02-22T13:26:01.4343820Z ##[section]Finishing: Finalize Job

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@kennytm kennytm added the needs-fcp This change is insta-stable, so needs a completed FCP to proceed. label Feb 23, 2020
@kennytm
Copy link
Member

kennytm commented Feb 23, 2020

@tspiteri The difference is that const_if_match is a built-in feature of the compiler, while const_transmute is a library-defined feature. This means there's a bug in #[allow_internal_unstable] (#69399).

However, it should be fine to stick a #![feature(const_transmute)] at lib.rs?


r? @sfackler

why highfive keep assigning me stuff which requires FCP? 🤷‍♂

@rust-highfive rust-highfive assigned sfackler and unassigned kennytm Feb 23, 2020
@sfackler
Copy link
Member

@rfcbot fcp merge

@rfcbot
Copy link

rfcbot commented Feb 23, 2020

Team member @sfackler has proposed to merge this. The next step is review by the rest of the tagged team members:

No concerns currently listed.

Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up!

See this document for info about what commands tagged team members can give me.

@rfcbot rfcbot added proposed-final-comment-period Proposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off. disposition-merge This issue / PR is in PFCP or FCP with a disposition to merge it. labels Feb 23, 2020
@tspiteri
Copy link
Contributor Author

@kennytm #![feature(const_transmute)] is already in src/libcore/lib.rs but it doesn't seem to help here, maybe that's related to the same allow_internal_unstable bug (and maybe not, I don't know). And adding it to src/libstd/lib.rs as well makes no difference, after all it's libcore compilation that's failing.

@SimonSapin
Copy link
Contributor

CC @rust-lang/lang in case there’s an objection

@rfcbot rfcbot added the final-comment-period In the final comment period and will be merged soon unless new substantive objections are raised. label Feb 23, 2020
@rfcbot
Copy link

rfcbot commented Feb 23, 2020

🔔 This is now entering its final comment period, as per the review above. 🔔

@rfcbot rfcbot removed the proposed-final-comment-period Proposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off. label Feb 23, 2020
@eddyb
Copy link
Member

eddyb commented Feb 24, 2020

As I noted on #69399, allow_internal_unstable is a macro attribute, not surprised it doesn't do anything on an fn (although it should complain it's applied to a non-macro).
EDIT: see #69399 (comment)

cc @oli-obk @Centril on the actual change

@eddyb

This comment has been minimized.

@joshtriplett
Copy link
Member

Seems very reasonable to me.

For future reference, I personally don't feel that lang needs to be consulted when new libs functions are made const.

@SimonSapin
Copy link
Contributor

For future reference, I personally don't feel that lang needs to be consulted when new libs functions are made const.

Alright. My comment was specifically about using transmute. Are there docs about what can be made const in std and what shouldn’t yet?

@rfcbot rfcbot added finished-final-comment-period The final comment period is finished for this PR / Issue. and removed final-comment-period In the final comment period and will be merged soon unless new substantive objections are raised. labels Mar 4, 2020
@rfcbot
Copy link

rfcbot commented Mar 4, 2020

The final comment period, with a disposition to merge, as per the review above, is now complete.

As the automated representative of the governance process, I would like to thank the author for their work and everyone else who contributed.

The RFC will be merged soon.

@Centril
Copy link
Contributor

Centril commented Mar 10, 2020

r? @oli-obk

@rust-highfive rust-highfive assigned oli-obk and unassigned sfackler Mar 10, 2020
@Centril Centril modified the milestones: 1.43, 1.44 Mar 10, 2020
@oli-obk
Copy link
Contributor

oli-obk commented Mar 10, 2020

@bors r+

@bors
Copy link
Contributor

bors commented Mar 10, 2020

📌 Commit 87f0dc6 has been approved by oli-obk

@bors
Copy link
Contributor

bors commented Mar 10, 2020

🌲 The tree is currently closed for pull requests below priority 1000, this pull request will be tested once the tree is reopened

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 10, 2020
Centril added a commit to Centril/rust that referenced this pull request Mar 11, 2020
…i-obk

Stabilize const for integer {to,from}_{be,le,ne}_bytes methods

All of these functions can be implemented simply and naturally as const functions, e.g. `u32::from_le_bytes` can be implemented as
```rust
(bytes[0] as u32)
    | (bytes[1] as u32) << 8
    | (bytes[2] as u32) << 16
    | (bytes[3] as u32) << 24
```
So stabilizing the constness will not expose that internally they are implemented using transmute which is not const in stable.
bors added a commit that referenced this pull request Mar 11, 2020
Rollup of 10 pull requests

Successful merges:

 - #66059 (mem::zeroed/uninit: panic on types that do not permit zero-initialization)
 - #69373 (Stabilize const for integer {to,from}_{be,le,ne}_bytes methods)
 - #69591 (Use TypeRelating for instantiating query responses)
 - #69625 (Implement nth, last, and count for iter::Copied)
 - #69645 (const forget tests)
 - #69766 (Make Point `Copy` in arithmetic documentation)
 - #69825 (make `mem::discriminant` const)
 - #69859 (fix #62456)
 - #69891 (Exhaustiveness checking, `Matrix::push`: recursively expand or-patterns)
 - #69896 (parse: Tweak the function parameter edition check)

Failed merges:

r? @ghost
@bors bors merged commit 4307914 into rust-lang:master Mar 11, 2020
@tspiteri tspiteri deleted the const_int_conversion branch March 13, 2020 13:21
JohnTitor added a commit to JohnTitor/rust that referenced this pull request Mar 13, 2020
…, r=dtolnay

Update stable-since version for const_int_conversion

Since rust-lang#69373 was not merged in time for 1.43.0 beta, update to `since = "1.44.0"`.
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Jun 8, 2020
Pkgsrc changes:
 * Remove a couple diffs which are now integrated upstream.
 * Adjust cargo checksums after upstream upgrades.
 * Belatedly bump the curl dependency
 * Unset DESTDIR during the build phase, to work around a mysterious
   build bug deep in the bowels of llvm.
 * Bump nearly all bootstraps to 1.43.1.

Upstream changes:

Version 1.44.0 (2020-06-04)
==========================

Language
--------
- [You can now use `async/.await` with `#[no_std]` enabled.][69033]
- [Added the `unused_braces` lint.][70081]

**Syntax-only changes**

- [Expansion-driven outline module parsing][69838]
```rust
#[cfg(FALSE)]
mod foo {
    mod bar {
        mod baz; // `foo/bar/baz.rs` doesn't exist, but no error!
    }
}
```

These are still rejected semantically, so you will likely receive an error but
these changes can be seen and parsed by macros and conditional compilation.

Compiler
--------
- [Rustc now respects the `-C codegen-units` flag in incremental mode.][70156]
  Additionally when in incremental mode rustc defaults to 256 codegen units.
- [Refactored `catch_unwind`, to have zero-cost unless unwinding is enabled and
  a panic is thrown.][67502]
- [Added tier 3\* support for the `aarch64-unknown-none` and
  `aarch64-unknown-none-softfloat` targets.][68334]
- [Added tier 3 support for `arm64-apple-tvos` and
  `x86_64-apple-tvos` targets.][68191]

Libraries
---------
- [Special cased `vec![]` to map directly to `Vec::new()`.][70632] This allows
  `vec![]` to be able to be used in `const` contexts.
- [`convert::Infallible` now implements `Hash`.][70281]
- [`OsString` now implements `DerefMut` and `IndexMut` returning
  a `&mut OsStr`.][70048]
- [Unicode 13 is now supported.][69929]
- [`String` now implements `From<&mut str>`.][69661]
- [`IoSlice` now implements `Copy`.][69403]
- [`Vec<T>` now implements `From<[T; N]>`.][68692] Where `N` is less than 32.
- [`proc_macro::LexError` now implements `fmt::Display` and `Error`.][68899]
- [`from_le_bytes`, `to_le_bytes`, `from_be_bytes`, `to_be_bytes`,
  `from_ne_bytes`, and `to_ne_bytes` methods are now `const` for all
  integer types.][69373]

Stabilized APIs
---------------
- [`PathBuf::with_capacity`]
- [`PathBuf::capacity`]
- [`PathBuf::clear`]
- [`PathBuf::reserve`]
- [`PathBuf::reserve_exact`]
- [`PathBuf::shrink_to_fit`]
- [`f32::to_int_unchecked`]
- [`f64::to_int_unchecked`]
- [`Layout::align_to`]
- [`Layout::pad_to_align`]
- [`Layout::array`]
- [`Layout::extend`]

Cargo
-----
- [Added the `cargo tree` command which will print a tree graph of
  your dependencies.][cargo/8062] E.g.
  ```
    mdbook v0.3.2 (/Users/src/rust/mdbook)
  +-- ammonia v3.0.0
  |   +-- html5ever v0.24.0
  |   |   +-- log v0.4.8
  |   |   |   +-- cfg-if v0.1.9
  |   |   +-- mac v0.1.1
  |   |   +-- markup5ever v0.9.0
  |   |       +-- log v0.4.8 (*)
  |   |       +-- phf v0.7.24
  |   |       |   +-- phf_shared v0.7.24
  |   |       |       +-- siphasher v0.2.3
  |   |       |       +-- unicase v1.4.2
  |   |       |           [build-dependencies]
  |   |       |           +-- version_check v0.1.5
  ...
  ```
  You can also display dependencies on multiple versions of the same crate with
  `cargo tree -d` (short for `cargo tree --duplicates`).

Misc
----
- [Rustdoc now allows you to specify `--crate-version` to have rustdoc include
  the version in the sidebar.][69494]

Compatibility Notes
-------------------
- [Rustc now correctly generates static libraries on Windows GNU targets with
  the `.a` extension, rather than the previous `.lib`.][70937]
- [Removed the `-C no_integrated_as` flag from rustc.][70345]
- [The `file_name` property in JSON output of macro errors now points the actual
  source file rather than the previous format of `<NAME macros>`.][70969]
  **Note:** this may not point a file that actually exists on the user's system.
- [The minimum required external LLVM version has been bumped to LLVM 8.][71147]
- [`mem::{zeroed, uninitialised}` will now panic when used with types that do
  not allow zero initialization such as `NonZeroU8`.][66059] This was
  previously a warning.
- [In 1.45.0 (the next release) converting a `f64` to `u32` using the `as`
  operator has been defined as a saturating operation.][71269] This was
  previously undefined behaviour, you can use the `{f64, f32}::to_int_unchecked`
  methods to continue using the current behaviour which may desirable in rare
  performance sensitive situations.

Internal Only
-------------
These changes provide no direct user facing benefits, but represent significant
improvements to the internals and overall performance of rustc and
related tools.

- [dep_graph Avoid allocating a set on when the number reads are small.][69778]
- [Replace big JS dict with JSON parsing.][71250]

[69373]: rust-lang/rust#69373
[66059]: rust-lang/rust#66059
[68191]: rust-lang/rust#68191
[68899]: rust-lang/rust#68899
[71147]: rust-lang/rust#71147
[71250]: rust-lang/rust#71250
[70937]: rust-lang/rust#70937
[70969]: rust-lang/rust#70969
[70632]: rust-lang/rust#70632
[70281]: rust-lang/rust#70281
[70345]: rust-lang/rust#70345
[70048]: rust-lang/rust#70048
[70081]: rust-lang/rust#70081
[70156]: rust-lang/rust#70156
[71269]: rust-lang/rust#71269
[69838]: rust-lang/rust#69838
[69929]: rust-lang/rust#69929
[69661]: rust-lang/rust#69661
[69778]: rust-lang/rust#69778
[69494]: rust-lang/rust#69494
[69403]: rust-lang/rust#69403
[69033]: rust-lang/rust#69033
[68692]: rust-lang/rust#68692
[68334]: rust-lang/rust#68334
[67502]: rust-lang/rust#67502
[cargo/8062]: rust-lang/cargo#8062
[`PathBuf::with_capacity`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.with_capacity
[`PathBuf::capacity`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.capacity
[`PathBuf::clear`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.clear
[`PathBuf::reserve`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.reserve
[`PathBuf::reserve_exact`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.reserve_exact
[`PathBuf::shrink_to_fit`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.shrink_to_fit
[`f32::to_int_unchecked`]: https://doc.rust-lang.org/std/primitive.f32.html#method.to_int_unchecked
[`f64::to_int_unchecked`]: https://doc.rust-lang.org/std/primitive.f64.html#method.to_int_unchecked
[`Layout::align_to`]: https://doc.rust-lang.org/std/alloc/struct.Layout.html#method.align_to
[`Layout::pad_to_align`]: https://doc.rust-lang.org/std/alloc/struct.Layout.html#method.pad_to_align
[`Layout::array`]: https://doc.rust-lang.org/std/alloc/struct.Layout.html#method.array
[`Layout::extend`]: https://doc.rust-lang.org/std/alloc/struct.Layout.html#method.extend
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Jun 9, 2020
Version 1.44.0 (2020-06-04)
==========================

Language
--------
- [You can now use `async/.await` with `#[no_std]` enabled.][69033]
- [Added the `unused_braces` lint.][70081]

**Syntax-only changes**

- [Expansion-driven outline module parsing][69838]
```rust
#[cfg(FALSE)]
mod foo {
    mod bar {
        mod baz; // `foo/bar/baz.rs` doesn't exist, but no error!
    }
}
```

These are still rejected semantically, so you will likely receive an error but
these changes can be seen and parsed by macros and conditional compilation.

Compiler
--------
- [Rustc now respects the `-C codegen-units` flag in incremental mode.][70156]
  Additionally when in incremental mode rustc defaults to 256 codegen units.
- [Refactored `catch_unwind` to have zero-cost, unless unwinding is enabled and
  a panic is thrown.][67502]
- [Added tier 3\* support for the `aarch64-unknown-none` and
  `aarch64-unknown-none-softfloat` targets.][68334]
- [Added tier 3 support for `arm64-apple-tvos` and
  `x86_64-apple-tvos` targets.][68191]


Libraries
---------
- [Special cased `vec![]` to map directly to `Vec::new()`.][70632] This allows
  `vec![]` to be able to be used in `const` contexts.
- [`convert::Infallible` now implements `Hash`.][70281]
- [`OsString` now implements `DerefMut` and `IndexMut` returning
  a `&mut OsStr`.][70048]
- [Unicode 13 is now supported.][69929]
- [`String` now implements `From<&mut str>`.][69661]
- [`IoSlice` now implements `Copy`.][69403]
- [`Vec<T>` now implements `From<[T; N]>`.][68692] Where `N` is at most 32.
- [`proc_macro::LexError` now implements `fmt::Display` and `Error`.][68899]
- [`from_le_bytes`, `to_le_bytes`, `from_be_bytes`, `to_be_bytes`,
  `from_ne_bytes`, and `to_ne_bytes` methods are now `const` for all
  integer types.][69373]

Stabilized APIs
---------------
- [`PathBuf::with_capacity`]
- [`PathBuf::capacity`]
- [`PathBuf::clear`]
- [`PathBuf::reserve`]
- [`PathBuf::reserve_exact`]
- [`PathBuf::shrink_to_fit`]
- [`f32::to_int_unchecked`]
- [`f64::to_int_unchecked`]
- [`Layout::align_to`]
- [`Layout::pad_to_align`]
- [`Layout::array`]
- [`Layout::extend`]

Cargo
-----
- [Added the `cargo tree` command which will print a tree graph of
  your dependencies.][cargo/8062] E.g.
  ```
    mdbook v0.3.2 (/Users/src/rust/mdbook)
  ├── ammonia v3.0.0
  │   ├── html5ever v0.24.0
  │   │   ├── log v0.4.8
  │   │   │   └── cfg-if v0.1.9
  │   │   ├── mac v0.1.1
  │   │   └── markup5ever v0.9.0
  │   │       ├── log v0.4.8 (*)
  │   │       ├── phf v0.7.24
  │   │       │   └── phf_shared v0.7.24
  │   │       │       ├── siphasher v0.2.3
  │   │       │       └── unicase v1.4.2
  │   │       │           [build-dependencies]
  │   │       │           └── version_check v0.1.5
  ...
  ```
  You can also display dependencies on multiple versions of the same crate with
  `cargo tree -d` (short for `cargo tree --duplicates`).

Misc
----
- [Rustdoc now allows you to specify `--crate-version` to have rustdoc include
  the version in the sidebar.][69494]

Compatibility Notes
-------------------
- [Rustc now correctly generates static libraries on Windows GNU targets with
  the `.a` extension, rather than the previous `.lib`.][70937]
- [Removed the `-C no_integrated_as` flag from rustc.][70345]
- [The `file_name` property in JSON output of macro errors now points the actual
  source file rather than the previous format of `<NAME macros>`.][70969]
  **Note:** this may not point to a file that actually exists on the user's system.
- [The minimum required external LLVM version has been bumped to LLVM 8.][71147]
- [`mem::{zeroed, uninitialised}` will now panic when used with types that do
  not allow zero initialization such as `NonZeroU8`.][66059] This was
  previously a warning.
- [In 1.45.0 (the next release) converting a `f64` to `u32` using the `as`
  operator has been defined as a saturating operation.][71269] This was previously
  undefined behaviour, but you can use the `{f64, f32}::to_int_unchecked` methods to
  continue using the current behaviour, which may be desirable in rare performance
  sensitive situations.

Internal Only
-------------
These changes provide no direct user facing benefits, but represent significant
improvements to the internals and overall performance of rustc and
related tools.

- [dep_graph Avoid allocating a set on when the number reads are small.][69778]
- [Replace big JS dict with JSON parsing.][71250]

[69373]: rust-lang/rust#69373
[66059]: rust-lang/rust#66059
[68191]: rust-lang/rust#68191
[68899]: rust-lang/rust#68899
[71147]: rust-lang/rust#71147
[71250]: rust-lang/rust#71250
[70937]: rust-lang/rust#70937
[70969]: rust-lang/rust#70969
[70632]: rust-lang/rust#70632
[70281]: rust-lang/rust#70281
[70345]: rust-lang/rust#70345
[70048]: rust-lang/rust#70048
[70081]: rust-lang/rust#70081
[70156]: rust-lang/rust#70156
[71269]: rust-lang/rust#71269
[69838]: rust-lang/rust#69838
[69929]: rust-lang/rust#69929
[69661]: rust-lang/rust#69661
[69778]: rust-lang/rust#69778
[69494]: rust-lang/rust#69494
[69403]: rust-lang/rust#69403
[69033]: rust-lang/rust#69033
[68692]: rust-lang/rust#68692
[68334]: rust-lang/rust#68334
[67502]: rust-lang/rust#67502
[cargo/8062]: rust-lang/cargo#8062
[`PathBuf::with_capacity`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.with_capacity
[`PathBuf::capacity`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.capacity
[`PathBuf::clear`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.clear
[`PathBuf::reserve`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.reserve
[`PathBuf::reserve_exact`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.reserve_exact
[`PathBuf::shrink_to_fit`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.shrink_to_fit
[`f32::to_int_unchecked`]: https://doc.rust-lang.org/std/primitive.f32.html#method.to_int_unchecked
[`f64::to_int_unchecked`]: https://doc.rust-lang.org/std/primitive.f64.html#method.to_int_unchecked
[`Layout::align_to`]: https://doc.rust-lang.org/std/alloc/struct.Layout.html#method.align_to
[`Layout::pad_to_align`]: https://doc.rust-lang.org/std/alloc/struct.Layout.html#method.pad_to_align
[`Layout::array`]: https://doc.rust-lang.org/std/alloc/struct.Layout.html#method.array
[`Layout::extend`]: https://doc.rust-lang.org/std/alloc/struct.Layout.html#method.extend
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Jul 6, 2020
Pkgsrc changes:
 * Remove the clutter caused by the cross-compile setup from Makefile
   (Now consigned to my own private cross.mk file.)
 * Remove a couple of patches which are now integrated upstream.
 * Minor adjustments to a couple of other patches.
 * Adjust cargo checksums after upstream upgrades.
 * Belatedly bump the curl dependency
 * If doing a "dist" build, unset DESTDIR during the build phase,
   to work around a mysterious build bug deep in the bowels of llvm,
   causing llvm tools to be installed to a directory unexpecetd by
   the rest of the rust build, ref.
   rust-lang/rust#73132
   A "dist" build is not expected to be followed by an "install".
 * Bump nearly all bootstraps to 1.43.1; NetBSD earmv7hf bootstrap
   bumped to 1.44.0, as that one now finally builds and works.

Upstream changes:

Version 1.44.0 (2020-06-04)
==========================

Language
--------
- [You can now use `async/.await` with `#[no_std]` enabled.][69033]
- [Added the `unused_braces` lint.][70081]

**Syntax-only changes**

- [Expansion-driven outline module parsing][69838]
```rust
#[cfg(FALSE)]
mod foo {
    mod bar {
        mod baz; // `foo/bar/baz.rs` doesn't exist, but no error!
    }
}
```

These are still rejected semantically, so you will likely receive an error but
these changes can be seen and parsed by macros and conditional compilation.

Compiler
--------
- [Rustc now respects the `-C codegen-units` flag in incremental mode.][70156]
  Additionally when in incremental mode rustc defaults to 256 codegen units.
- [Refactored `catch_unwind`, to have zero-cost unless unwinding is enabled and
  a panic is thrown.][67502]
- [Added tier 3\* support for the `aarch64-unknown-none` and
  `aarch64-unknown-none-softfloat` targets.][68334]
- [Added tier 3 support for `arm64-apple-tvos` and
  `x86_64-apple-tvos` targets.][68191]

Libraries
---------
- [Special cased `vec![]` to map directly to `Vec::new()`.][70632] This allows
  `vec![]` to be able to be used in `const` contexts.
- [`convert::Infallible` now implements `Hash`.][70281]
- [`OsString` now implements `DerefMut` and `IndexMut` returning
  a `&mut OsStr`.][70048]
- [Unicode 13 is now supported.][69929]
- [`String` now implements `From<&mut str>`.][69661]
- [`IoSlice` now implements `Copy`.][69403]
- [`Vec<T>` now implements `From<[T; N]>`.][68692] Where `N` is less than 32.
- [`proc_macro::LexError` now implements `fmt::Display` and `Error`.][68899]
- [`from_le_bytes`, `to_le_bytes`, `from_be_bytes`, `to_be_bytes`,
  `from_ne_bytes`, and `to_ne_bytes` methods are now `const` for all
  integer types.][69373]

Stabilized APIs
---------------
- [`PathBuf::with_capacity`]
- [`PathBuf::capacity`]
- [`PathBuf::clear`]
- [`PathBuf::reserve`]
- [`PathBuf::reserve_exact`]
- [`PathBuf::shrink_to_fit`]
- [`f32::to_int_unchecked`]
- [`f64::to_int_unchecked`]
- [`Layout::align_to`]
- [`Layout::pad_to_align`]
- [`Layout::array`]
- [`Layout::extend`]

Cargo
-----
- [Added the `cargo tree` command which will print a tree graph of
  your dependencies.][cargo/8062] E.g.
  ```
    mdbook v0.3.2 (/Users/src/rust/mdbook)
  +-- ammonia v3.0.0
  |   +-- html5ever v0.24.0
  |   |   +-- log v0.4.8
  |   |   |   +-- cfg-if v0.1.9
  |   |   +-- mac v0.1.1
  |   |   +-- markup5ever v0.9.0
  |   |       +-- log v0.4.8 (*)
  |   |       +-- phf v0.7.24
  |   |       |   +-- phf_shared v0.7.24
  |   |       |       +-- siphasher v0.2.3
  |   |       |       +-- unicase v1.4.2
  |   |       |           [build-dependencies]
  |   |       |           +-- version_check v0.1.5
  ...
  ```
  You can also display dependencies on multiple versions of the same crate with
  `cargo tree -d` (short for `cargo tree --duplicates`).

Misc
----
- [Rustdoc now allows you to specify `--crate-version` to have rustdoc include
  the version in the sidebar.][69494]

Compatibility Notes
-------------------
- [Rustc now correctly generates static libraries on Windows GNU targets with
  the `.a` extension, rather than the previous `.lib`.][70937]
- [Removed the `-C no_integrated_as` flag from rustc.][70345]
- [The `file_name` property in JSON output of macro errors now points the actual
  source file rather than the previous format of `<NAME macros>`.][70969]
  **Note:** this may not point a file that actually exists on the user's system.
- [The minimum required external LLVM version has been bumped to LLVM 8.][71147]
- [`mem::{zeroed, uninitialised}` will now panic when used with types that do
  not allow zero initialization such as `NonZeroU8`.][66059] This was
  previously a warning.
- [In 1.45.0 (the next release) converting a `f64` to `u32` using the `as`
  operator has been defined as a saturating operation.][71269] This was
  previously undefined behaviour, you can use the `{f64, f32}::to_int_unchecked`
  methods to continue using the current behaviour which may desirable in rare
  performance sensitive situations.

Internal Only
-------------
These changes provide no direct user facing benefits, but represent significant
improvements to the internals and overall performance of rustc and
related tools.

- [dep_graph Avoid allocating a set on when the number reads are small.][69778]
- [Replace big JS dict with JSON parsing.][71250]

[69373]: rust-lang/rust#69373
[66059]: rust-lang/rust#66059
[68191]: rust-lang/rust#68191
[68899]: rust-lang/rust#68899
[71147]: rust-lang/rust#71147
[71250]: rust-lang/rust#71250
[70937]: rust-lang/rust#70937
[70969]: rust-lang/rust#70969
[70632]: rust-lang/rust#70632
[70281]: rust-lang/rust#70281
[70345]: rust-lang/rust#70345
[70048]: rust-lang/rust#70048
[70081]: rust-lang/rust#70081
[70156]: rust-lang/rust#70156
[71269]: rust-lang/rust#71269
[69838]: rust-lang/rust#69838
[69929]: rust-lang/rust#69929
[69661]: rust-lang/rust#69661
[69778]: rust-lang/rust#69778
[69494]: rust-lang/rust#69494
[69403]: rust-lang/rust#69403
[69033]: rust-lang/rust#69033
[68692]: rust-lang/rust#68692
[68334]: rust-lang/rust#68334
[67502]: rust-lang/rust#67502
[cargo/8062]: rust-lang/cargo#8062
[`PathBuf::with_capacity`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.with_capacity
[`PathBuf::capacity`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.capacity
[`PathBuf::clear`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.clear
[`PathBuf::reserve`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.reserve
[`PathBuf::reserve_exact`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.reserve_exact
[`PathBuf::shrink_to_fit`]: https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.shrink_to_fit
[`f32::to_int_unchecked`]: https://doc.rust-lang.org/std/primitive.f32.html#method.to_int_unchecked
[`f64::to_int_unchecked`]: https://doc.rust-lang.org/std/primitive.f64.html#method.to_int_unchecked
[`Layout::align_to`]: https://doc.rust-lang.org/std/alloc/struct.Layout.html#method.align_to
[`Layout::pad_to_align`]: https://doc.rust-lang.org/std/alloc/struct.Layout.html#method.pad_to_align
[`Layout::array`]: https://doc.rust-lang.org/std/alloc/struct.Layout.html#method.array
[`Layout::extend`]: https://doc.rust-lang.org/std/alloc/struct.Layout.html#method.extend
JohnTitor added a commit to JohnTitor/rust that referenced this pull request Aug 8, 2020
clean up const-hacks in int endianess conversion functions

Cleans up the const hacks added in rust-lang#69373.

r? @oli-obk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
disposition-merge This issue / PR is in PFCP or FCP with a disposition to merge it. finished-final-comment-period The final comment period is finished for this PR / Issue. needs-fcp This change is insta-stable, so needs a completed FCP to proceed. relnotes Marks issues that should be documented in the release notes of the next release. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.