make clear that other versions can work (#1373)
This commit is contained in:
parent
16824a22e7
commit
3252a2c0e7
2 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
To get diagnostics from the compiler,
|
||||
configure `rustc_interface::Config` to output diagnostic to a buffer,
|
||||
and run `TyCtxt.analysis`. The following should be compiled
|
||||
and run `TyCtxt.analysis`. The following was tested
|
||||
with <!-- date: 2022-06 --> `nightly-2022-06-05` (See [here][example]
|
||||
for the complete example):
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
## Getting the type of an expression
|
||||
|
||||
To get the type of an expression, use the `global_ctxt` to get a `TyCtxt`.
|
||||
The following should be compiled with <!-- date: 2022-06 --> `nightly-2022-06-05`
|
||||
The following was tested with <!-- date: 2022-06 --> `nightly-2022-06-05`
|
||||
(see [here][example] for the complete example):
|
||||
|
||||
[example]: https://github.com/rust-lang/rustc-dev-guide/blob/master/examples/rustc-driver-interacting-with-the-ast.rs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue