rust/src/test/ui/bad
bors 0c91f3d97f Auto merge of #57234 - Centril:const-stabilizations-2, r=oli-obk
Const-stabilize `const_int_ops` + `const_ip`

r? @oli-obk

## Note for relnotes: This PR includes https://github.com/rust-lang/rust/pull/57105.

I've added T-lang since this affects intrinsics and the operational semantics of Rust's `const fn` fragment.

## Stable APIs proposed for constification

+ `const_int_ops`:
    + `count_ones`
    + `count_zeros`
    + `leading_zeros`
    + `trailing_zeros`
    + `swap_bytes`
    + `from_be`
    + `from_le`
    + `to_be`
    + `to_le`
+ `const_ip`
    + `Ipv4Addr::new`

## Unstable APIs constified

+ `const_int_conversion`:
    + `reverse_bits`
2019-01-12 02:00:18 +00:00
..
bad-const-type.rs
bad-const-type.stderr
bad-crate-name.rs
bad-crate-name.stderr
bad-env-capture2.rs
bad-env-capture2.stderr
bad-env-capture3.rs
bad-env-capture3.stderr
bad-env-capture.rs
bad-env-capture.stderr
bad-expr-lhs.rs
bad-expr-lhs.stderr
bad-expr-path2.rs
bad-expr-path2.stderr
bad-expr-path.rs
bad-expr-path.stderr
bad-extern-link-attrs.rs
bad-extern-link-attrs.stderr
bad-intrinsic-monomorphization.rs
bad-intrinsic-monomorphization.stderr
bad-lint-cap2.rs
bad-lint-cap2.stderr
bad-lint-cap3.rs
bad-lint-cap3.stderr
bad-lint-cap.rs
bad-lint-cap.stderr
bad-main.rs
bad-main.stderr
bad-method-typaram-kind.rs
bad-method-typaram-kind.stderr
bad-mid-path-type-params.rs
bad-mid-path-type-params.stderr
bad-module.rs
bad-module.stderr
bad-sized.rs
bad-sized.stderr Fix broken links to second edition TRPL. 2019-01-01 12:53:07 -05:00
bad-type-env-capture.rs
bad-type-env-capture.stderr