]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_session/src/lib.rs
New upstream version 1.55.0+dfsg1
[rustc.git] / compiler / rustc_session / src / lib.rs
index 8d00a9a959e7a2c8d0577eeeba57790230ccc956..9a82ae3fc109080d4ae4c652fdd353c81ae7ce49 100644 (file)
@@ -24,3 +24,8 @@ pub use session::*;
 pub mod output;
 
 pub use getopts;
+
+/// Requirements for a `StableHashingContext` to be used in this crate.
+/// This is a hack to allow using the `HashStable_Generic` derive macro
+/// instead of implementing everything in `rustc_middle`.
+pub trait HashStableContext {}