Skip to content

Commit

Permalink
restore does-nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
Oneirical committed Apr 6, 2024
1 parent 4ef2320 commit 40bd662
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/tidy/src/ui_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const ENTRY_LIMIT: usize = 900;
// FIXME: The following limits should be reduced eventually.

const ISSUES_ENTRY_LIMIT: usize = 1733;
const ROOT_ENTRY_LIMIT: usize = 859;
const ROOT_ENTRY_LIMIT: usize = 861;

const EXPECTED_TEST_FILE_EXTENSIONS: &[&str] = &[
"rs", // test source files
Expand Down
2 changes: 2 additions & 0 deletions tests/ui/does-nothing.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fn main() { println!("doing"); this_does_nothing_what_the; println!("boing"); }
//~^ ERROR cannot find value `this_does_nothing_what_the` in this scope
9 changes: 9 additions & 0 deletions tests/ui/does-nothing.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
error[E0425]: cannot find value `this_does_nothing_what_the` in this scope
--> $DIR/does-nothing.rs:1:32
|
LL | fn main() { println!("doing"); this_does_nothing_what_the; println!("boing"); }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0425`.

0 comments on commit 40bd662

Please sign in to comment.