Add some intra-doc links to compiler docs
This commit is contained in:
@@ -25,8 +25,9 @@ use std::sync::{Arc, Mutex};
|
||||
pub type Result<T> = result::Result<T, ErrorReported>;
|
||||
|
||||
/// Represents a compiler session.
|
||||
///
|
||||
/// Can be used to run `rustc_interface` queries.
|
||||
/// Created by passing `Config` to `run_compiler`.
|
||||
/// Created by passing [`Config`] to [`run_compiler`].
|
||||
pub struct Compiler {
|
||||
pub(crate) sess: Lrc<Session>,
|
||||
codegen_backend: Lrc<Box<dyn CodegenBackend>>,
|
||||
|
||||
Reference in New Issue
Block a user