about summary refs log tree commit diff
path: root/compiler/rustc_query_system/src/lib.rs
diff options
context:
space:
mode:
authorSparrowLii <liyuan179@huawei.com>2022-09-15 15:45:17 +0800
committerSparrowLii <liyuan179@huawei.com>2022-09-15 16:05:44 +0800
commit89fd6ae458c96f7c3be00d93861ed3f0aa53d95b (patch)
treeefe059d3e5ba78137b72de83a97411336cc6824b /compiler/rustc_query_system/src/lib.rs
parent44506f38e079caec1b6c14e05a9b86e19544757f (diff)
downloadrust-89fd6ae458c96f7c3be00d93861ed3f0aa53d95b.tar.gz
rust-89fd6ae458c96f7c3be00d93861ed3f0aa53d95b.zip
correct span, add help message and add UI test when query depth overflows
Diffstat (limited to 'compiler/rustc_query_system/src/lib.rs')
-rw-r--r--compiler/rustc_query_system/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_query_system/src/lib.rs b/compiler/rustc_query_system/src/lib.rs
index 8a88b5c3340..78b06f520a8 100644
--- a/compiler/rustc_query_system/src/lib.rs
+++ b/compiler/rustc_query_system/src/lib.rs
@@ -23,4 +23,6 @@ pub mod query;
 mod values;
 
 pub use error::HandleCycleError;
+pub use error::LayoutOfDepth;
+pub use error::QueryOverflow;
 pub use values::Value;