Skip to content

Commit 1568a3e

Browse files
committed
Undo changes to .md file for now
1 parent bc34fac commit 1568a3e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/rustc-driver.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ function is the main entrypoint to the compiler. It takes a configuration for th
1414
and a closure that takes a [`Compiler`]. `run_compiler` creates a `Compiler` from the
1515
configuration and passes it to the closure. Inside the closure, you can use the `Compiler`
1616
to drive queries to compile a crate and get the results. This is what the `rustc_driver` does too.
17-
You can see a minimal example of how to use `rustc_interface` [here][example].
1817

1918
You can see what queries are currently available through the rustdocs for [`Compiler`].
2019
You can see an example of how to use them by looking at the `rustc_driver` implementation,
@@ -37,7 +36,6 @@ replaces this functionality.
3736
[cb]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_driver/trait.Callbacks.html
3837
[rd_rc]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_driver/fn.run_compiler.html
3938
[i_rc]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_interface/interface/fn.run_compiler.html
40-
[example]: https://github.com/rust-lang/rustc-dev-guide/blob/master/src/rustc-driver-example.rs
4139
[`rustc_interface`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_interface/index.html
4240
[`rustc_driver`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_driver/
4341
[`Compiler`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_interface/interface/struct.Compiler.html

0 commit comments

Comments
 (0)