Skip to content

Commit 2d9f0ba

Browse files
committed
update all the tests
1 parent 4b25abd commit 2d9f0ba

File tree

8,586 files changed

+11606
-11576
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

8,586 files changed

+11606
-11576
lines changed

tests/ui-fulldeps/hash-stable-is-unstable.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// compile-flags: -Zdeduplicate-diagnostics=yes
1+
//@compile-flags: -Zdeduplicate-diagnostics=yes
22
extern crate rustc_data_structures;
33
//~^ use of unstable library feature 'rustc_private'
44
extern crate rustc_macros;

tests/ui-fulldeps/internal-lints/bad_opt_access.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// compile-flags: -Z unstable-options
1+
//@compile-flags: -Z unstable-options
22

33
// Test that accessing command line options by field access triggers a lint for those fields
44
// that have wrapper functions which should be used.

tests/ui-fulldeps/internal-lints/default_hash_types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// compile-flags: -Z unstable-options
1+
//@compile-flags: -Z unstable-options
22

33
#![feature(rustc_private)]
44
#![deny(rustc::default_hash_types)]

tests/ui-fulldeps/internal-lints/diagnostics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// compile-flags: -Z unstable-options
1+
//@compile-flags: -Z unstable-options
22

33
#![crate_type = "lib"]
44
#![feature(rustc_attrs)]

tests/ui-fulldeps/internal-lints/lint_pass_impl_without_macro.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// compile-flags: -Z unstable-options
1+
//@compile-flags: -Z unstable-options
22

33
#![feature(rustc_private)]
44
#![deny(rustc::lint_pass_impl_without_macro)]

tests/ui-fulldeps/internal-lints/qualified_ty_ty_ctxt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// compile-flags: -Z unstable-options
1+
//@compile-flags: -Z unstable-options
22

33
#![feature(rustc_private)]
44
#![deny(rustc::usage_of_qualified_ty)]

tests/ui-fulldeps/internal-lints/query_stability.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// compile-flags: -Z unstable-options
1+
//@compile-flags: -Z unstable-options
22

33
#![feature(rustc_private)]
44
#![deny(rustc::potential_query_instability)]

tests/ui-fulldeps/internal-lints/rustc_pass_by_value.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// compile-flags: -Z unstable-options
1+
//@compile-flags: -Z unstable-options
22

33
#![feature(rustc_attrs)]
44
#![feature(rustc_private)]

tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// compile-flags: -Z unstable-options
1+
//@compile-flags: -Z unstable-options
22

33
#![feature(rustc_private)]
44

tests/ui-fulldeps/lint-pass-macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// compile-flags: -Z unstable-options
1+
//@compile-flags: -Z unstable-options
22
// check-pass
33

44
#![feature(rustc_private)]

0 commit comments

Comments
 (0)