Skip to content

Edition-specific preludes #82217

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Mar 10, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update test/pretty output for edition preludes.
  • Loading branch information
m-ou-se committed Feb 25, 2021
commit d274d87e10af104051e1e71f56539b20350dbdda
2 changes: 1 addition & 1 deletion src/test/pretty/asm.pp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#![no_std]
#![feature(asm)]
#[prelude_import]
use ::std::prelude::v1::*;
use ::std::prelude::rust_2015::*;
#[macro_use]
extern crate std;

Expand Down
2 changes: 1 addition & 1 deletion src/test/pretty/cast-lt.pp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![feature(prelude_import)]
#![no_std]
#[prelude_import]
use ::std::prelude::v1::*;
use ::std::prelude::rust_2015::*;
#[macro_use]
extern crate std;
// pretty-compare-only
Expand Down
2 changes: 1 addition & 1 deletion src/test/pretty/dollar-crate.pp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![feature(prelude_import)]
#![no_std]
#[prelude_import]
use ::std::prelude::v1::*;
use ::std::prelude::rust_2015::*;
#[macro_use]
extern crate std;
// pretty-compare-only
Expand Down
2 changes: 1 addition & 1 deletion src/test/pretty/expanded-and-path-remap-80832.pp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![feature(prelude_import)]
#![no_std]
#[prelude_import]
use ::std::prelude::v1::*;
use ::std::prelude::rust_2015::*;
#[macro_use]
extern crate std;
// Test for issue 80832
Expand Down
2 changes: 1 addition & 1 deletion src/test/pretty/issue-12590-c.pp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![feature(prelude_import)]
#![no_std]
#[prelude_import]
use ::std::prelude::v1::*;
use ::std::prelude::rust_2015::*;
#[macro_use]
extern crate std;
// pretty-compare-only
Expand Down
2 changes: 1 addition & 1 deletion src/test/pretty/issue-4264.pp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#[prelude_import]
use ::std::prelude::v1::*;
use ::std::prelude::rust_2015::*;
#[macro_use]
extern crate std;
// pretty-compare-only
Expand Down