We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Compiler
1 parent cf13d91 commit 5d716fdCopy full SHA for 5d716fd
compiler/rustc_interface/src/interface.rs
@@ -25,7 +25,10 @@ use std::result;
25
26
pub type Result<T> = result::Result<T, ErrorGuaranteed>;
27
28
-/// Represents a compiler session.
+/// Represents a compiler session. Note that every `Compiler` contains a
29
+/// `Session`, but `Compiler` also contains some things that cannot be in
30
+/// `Session`, due to `Session` being in a crate that has many fewer
31
+/// dependencies than this crate.
32
///
33
/// Can be used to run `rustc_interface` queries.
34
/// Created by passing [`Config`] to [`run_compiler`].
0 commit comments