about summary refs log tree commit diff
path: root/tests/ui/privacy
diff options
context:
space:
mode:
authorOli Scherer <github333195615777966@oli-obk.de>2025-06-03 15:06:04 +0000
committerOli Scherer <github333195615777966@oli-obk.de>2025-06-03 15:16:51 +0000
commit82ed50c2943661abb664fe494d4c5209f8e1818c (patch)
tree4dc88792df2f1f85c7fff13657cd8ac95154f7ab /tests/ui/privacy
parentb17dba45186c454576d0fc8fb93ecc65eb1a763a (diff)
downloadrust-82ed50c2943661abb664fe494d4c5209f8e1818c.tar.gz
rust-82ed50c2943661abb664fe494d4c5209f8e1818c.zip
Run wfcheck in one big loop instead of per module
Diffstat (limited to 'tests/ui/privacy')
-rw-r--r--tests/ui/privacy/privacy3.stderr12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/ui/privacy/privacy3.stderr b/tests/ui/privacy/privacy3.stderr
index 06a287d35ea..4530dfe447b 100644
--- a/tests/ui/privacy/privacy3.stderr
+++ b/tests/ui/privacy/privacy3.stderr
@@ -5,6 +5,12 @@ LL |     use bar::gpriv;
    |         ^^^^^^^^^^ no `gpriv` in `bar`
 
 error: requires `sized` lang_item
+  --> $DIR/privacy3.rs:13:20
+   |
+LL |         fn gpriv() {}
+   |                    ^^
+
+error: requires `sized` lang_item
   --> $DIR/privacy3.rs:18:14
    |
 LL | pub fn foo() {}
@@ -28,12 +34,6 @@ error: requires `sized` lang_item
 LL | fn main() {}
    |           ^^
 
-error: requires `sized` lang_item
-  --> $DIR/privacy3.rs:13:20
-   |
-LL |         fn gpriv() {}
-   |                    ^^
-
 error: aborting due to 5 previous errors
 
 For more information about this error, try `rustc --explain E0432`.