Update examples with 1.61.0-nightly (latest version) (#1330)
Co-authored-by: Ujjawal Kumar <u.kumar@ukumar-ltmit1s.internal.salesforce.com>
This commit is contained in:
parent
21fb9308bb
commit
ede045c69d
3 changed files with 9 additions and 10 deletions
|
@ -3,7 +3,7 @@
|
|||
// NOTE: For the example to compile, you will need to first run the following:
|
||||
// rustup component add rustc-dev llvm-tools-preview
|
||||
|
||||
// version: 1.53.0-nightly (9b0edb7fd 2021-03-27)
|
||||
// version: 1.61.0-nightly (68369a041 2022-02-22)
|
||||
|
||||
extern crate rustc_ast_pretty;
|
||||
extern crate rustc_error_codes;
|
||||
|
@ -16,7 +16,7 @@ extern crate rustc_span;
|
|||
|
||||
use rustc_ast_pretty::pprust::item_to_string;
|
||||
use rustc_errors::registry;
|
||||
use rustc_session::config;
|
||||
use rustc_session::config::{self, CheckCfg};
|
||||
use rustc_span::source_map;
|
||||
use std::path;
|
||||
use std::process;
|
||||
|
@ -41,11 +41,11 @@ fn main() {
|
|||
},
|
||||
diagnostic_output: rustc_session::DiagnosticOutput::Default,
|
||||
crate_cfg: rustc_hash::FxHashSet::default(),
|
||||
crate_check_cfg: CheckCfg::default(),
|
||||
input_path: None,
|
||||
output_dir: None,
|
||||
output_file: None,
|
||||
file_loader: None,
|
||||
stderr: None,
|
||||
lint_caps: rustc_hash::FxHashMap::default(),
|
||||
parse_sess_created: None,
|
||||
register_lints: None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue