This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 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(
255255///
256256/// The expansion here can be controlled by two attributes:
257257///
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
260260/// `test::test_main_static`.
261261fn mk_main ( cx : & mut TestCtxt < ' _ > ) -> P < ast:: Item > {
262262 let sp = cx. def_site ;
Original file line number Diff line number Diff line change 66//! other phases of the compiler, which are generally required to hold in order
77//! to compile the program at all.
88//!
9- //! Most lints can be written as ` LintPass` instances. These run after
9+ //! Most lints can be written as [ LintPass] instances. These run after
1010//! all other analyses. The `LintPass`es built into rustc are defined
11- //! within ` rustc_session::lint::builtin` ,
11+ //! within [ rustc_session::lint::builtin] ,
1212//! which has further comments on how to add such a lint.
1313//! rustc can also load user-defined lint plugins via the plugin mechanism.
1414//!
1919//! example) requires more effort. See `emit_lint` and `GatherNodeLevels`
2020//! in `context.rs`.
2121//!
22- //! Some code also exists in ` rustc_session::lint`, ` rustc_middle::lint` .
22+ //! Some code also exists in [ rustc_session::lint], [ rustc_middle::lint] .
2323//!
2424//! ## Note
2525//!
You can’t perform that action at this time.
0 commit comments