]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #95960 - jhpratt:remove-rustc_deprecated, r=compiler-errors
authorbors <bors@rust-lang.org>
Mon, 9 May 2022 04:47:30 +0000 (04:47 +0000)
committerbors <bors@rust-lang.org>
Mon, 9 May 2022 04:47:30 +0000 (04:47 +0000)
Remove `#[rustc_deprecated]`

This removes `#[rustc_deprecated]` and introduces diagnostics to help users to the right direction (that being `#[deprecated]`). All uses of `#[rustc_deprecated]` have been converted. CI is expected to fail initially; this requires #95958, which includes converting `stdarch`.

I plan on following up in a short while (maybe a bootstrap cycle?) removing the diagnostics, as they're only intended to be short-term.

20 files changed:
1  2 
compiler/rustc_feature/src/builtin_attrs.rs
compiler/rustc_lint_defs/src/builtin.rs
compiler/rustc_middle/src/middle/stability.rs
library/alloc/src/slice.rs
library/core/src/fmt/mod.rs
library/core/src/hash/sip.rs
library/core/src/intrinsics.rs
library/core/src/macros/mod.rs
library/core/src/num/f32.rs
library/core/src/num/f64.rs
library/core/src/num/int_macros.rs
library/core/src/num/uint_macros.rs
library/core/src/sync/atomic.rs
library/std/src/env.rs
library/std/src/error.rs
library/std/src/fs.rs
library/std/src/os/linux/fs.rs
library/std/src/os/unix/process.rs
library/std/src/thread/mod.rs
src/librustdoc/html/render/mod.rs

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge