Add some intra-doc links to compiler docs
This commit is contained in:
parent
50a90975c0
commit
9cd992f394
5 changed files with 13 additions and 5 deletions
|
@ -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>>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue