diff options
| author | bors <bors@rust-lang.org> | 2021-10-05 09:45:11 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-10-05 09:45:11 +0000 |
| commit | 55111d656f7ecd511ebfad09d3b4b41e44cbcc23 (patch) | |
| tree | 7180fe809f15e8c4a5aaed8e0ca3e3e1fa355955 /src/test | |
| parent | 074f63648bd2368d5ca19aed02b5763a144e5d05 (diff) | |
| parent | b2ed9c4007767f6cf692229cffd471d4ce5fde55 (diff) | |
| download | rust-55111d656f7ecd511ebfad09d3b4b41e44cbcc23.tar.gz rust-55111d656f7ecd511ebfad09d3b4b41e44cbcc23.zip | |
Auto merge of #89266 - cjgillot:session-ich, r=michaelwoerister
Move ICH to rustc_query_system Based on https://github.com/rust-lang/rust/pull/89183 The StableHashingContext does not need to be in rustc_middle. This PR moves it to rustc_query_system. This will avoid a dependency between rustc_ast_lowering and rustc_middle in https://github.com/rust-lang/rust/pull/89124.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/ui-fulldeps/hash-stable-is-unstable.rs | 4 | ||||
| -rw-r--r-- | src/test/ui-fulldeps/hash-stable-is-unstable.stderr | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/test/ui-fulldeps/hash-stable-is-unstable.rs b/src/test/ui-fulldeps/hash-stable-is-unstable.rs index d93e21cf791..1be08191bc9 100644 --- a/src/test/ui-fulldeps/hash-stable-is-unstable.rs +++ b/src/test/ui-fulldeps/hash-stable-is-unstable.rs @@ -2,10 +2,10 @@ extern crate rustc_data_structures; //~^ use of unstable library feature 'rustc_private' -extern crate rustc_middle; -//~^ use of unstable library feature 'rustc_private' extern crate rustc_macros; //~^ use of unstable library feature 'rustc_private' +extern crate rustc_query_system; +//~^ use of unstable library feature 'rustc_private' use rustc_macros::HashStable; //~^ use of unstable library feature 'rustc_private' diff --git a/src/test/ui-fulldeps/hash-stable-is-unstable.stderr b/src/test/ui-fulldeps/hash-stable-is-unstable.stderr index 212f63f709e..d25657691ed 100644 --- a/src/test/ui-fulldeps/hash-stable-is-unstable.stderr +++ b/src/test/ui-fulldeps/hash-stable-is-unstable.stderr @@ -10,7 +10,7 @@ LL | extern crate rustc_data_structures; error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? --> $DIR/hash-stable-is-unstable.rs:5:1 | -LL | extern crate rustc_middle; +LL | extern crate rustc_macros; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information @@ -19,8 +19,8 @@ LL | extern crate rustc_middle; error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? --> $DIR/hash-stable-is-unstable.rs:7:1 | -LL | extern crate rustc_macros; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ +LL | extern crate rustc_query_system; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information = help: add `#![feature(rustc_private)]` to the crate attributes to enable |
