mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
Update future-incompat output test for latest nightly.
This commit is contained in:
parent
d3c2a7723f
commit
52d2303dd0
@ -15,7 +15,7 @@ use cargo_test_support::{basic_manifest, project, Project};
|
|||||||
// We use a special flag to force it to generate a report.
|
// We use a special flag to force it to generate a report.
|
||||||
const FUTURE_EXAMPLE: &'static str = "fn main() { let x = 1; }";
|
const FUTURE_EXAMPLE: &'static str = "fn main() { let x = 1; }";
|
||||||
// Some text that will be displayed when the lint fires.
|
// Some text that will be displayed when the lint fires.
|
||||||
const FUTURE_OUTPUT: &'static str = "[..]unused_variables[..]";
|
const FUTURE_OUTPUT: &'static str = "[..]unused variable[..]";
|
||||||
|
|
||||||
fn simple_project() -> Project {
|
fn simple_project() -> Project {
|
||||||
project()
|
project()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user