File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -255,8 +255,8 @@ fn generate_test_harness(
255
255
///
256
256
/// The expansion here can be controlled by two attributes:
257
257
///
258
- /// ` reexport_test_harness_main` provides a different name for the `main`
259
- /// function and ` test_runner` provides a path that replaces
258
+ /// [`TestCtxt:: reexport_test_harness_main`] provides a different name for the `main`
259
+ /// function and [`TestCtxt:: test_runner`] provides a path that replaces
260
260
/// `test::test_main_static`.
261
261
fn mk_main ( cx : & mut TestCtxt < ' _ > ) -> P < ast:: Item > {
262
262
let sp = cx. def_site ;
Original file line number Diff line number Diff line change 6
6
//! other phases of the compiler, which are generally required to hold in order
7
7
//! to compile the program at all.
8
8
//!
9
- //! Most lints can be written as ` LintPass` instances. These run after
9
+ //! Most lints can be written as [ LintPass] instances. These run after
10
10
//! all other analyses. The `LintPass`es built into rustc are defined
11
- //! within ` rustc_session::lint::builtin` ,
11
+ //! within [ rustc_session::lint::builtin] ,
12
12
//! which has further comments on how to add such a lint.
13
13
//! rustc can also load user-defined lint plugins via the plugin mechanism.
14
14
//!
19
19
//! example) requires more effort. See `emit_lint` and `GatherNodeLevels`
20
20
//! in `context.rs`.
21
21
//!
22
- //! Some code also exists in ` rustc_session::lint`, ` rustc_middle::lint` .
22
+ //! Some code also exists in [ rustc_session::lint], [ rustc_middle::lint] .
23
23
//!
24
24
//! ## Note
25
25
//!
You can’t perform that action at this time.
0 commit comments