Skip to content

Commit 12a613e

Browse files
authored
make clear that other versions can work (rust-lang#1373)
1 parent bda3e0b commit 12a613e

2 files changed

+2
-2
lines changed

src/rustc-driver-getting-diagnostics.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
To get diagnostics from the compiler,
88
configure `rustc_interface::Config` to output diagnostic to a buffer,
9-
and run `TyCtxt.analysis`. The following should be compiled
9+
and run `TyCtxt.analysis`. The following was tested
1010
with <!-- date: 2022-06 --> `nightly-2022-06-05` (See [here][example]
1111
for the complete example):
1212

src/rustc-driver-interacting-with-the-ast.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
## Getting the type of an expression
66

77
To get the type of an expression, use the `global_ctxt` to get a `TyCtxt`.
8-
The following should be compiled with <!-- date: 2022-06 --> `nightly-2022-06-05`
8+
The following was tested with <!-- date: 2022-06 --> `nightly-2022-06-05`
99
(see [here][example] for the complete example):
1010

1111
[example]: https://github.com/rust-lang/rustc-dev-guide/blob/master/examples/rustc-driver-interacting-with-the-ast.rs

0 commit comments

Comments
 (0)