about summary refs log tree commit diff
path: root/src/test/ui/parser
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-03-23 10:29:09 +0100
committerGitHub <noreply@github.com>2020-03-23 10:29:09 +0100
commit906b39958322c54b76de4f301976e7753777be4e (patch)
treea3338a1a2ca2885e99504c2cfb19a2baef16162f /src/test/ui/parser
parent61a56fbe0053cbf5aee5967a3211dcd17b605710 (diff)
parent9175940c9277d9331c964e27fd32ef1ae315b7ba (diff)
downloadrust-906b39958322c54b76de4f301976e7753777be4e.tar.gz
rust-906b39958322c54b76de4f301976e7753777be4e.zip
Rollup merge of #69942 - estebank:sized-verbose-sugg, r=matthewjasper
Increase verbosity when suggesting subtle code changes

Do not suggest changes that are actually quite small inline, to minimize the likelihood of confusion.

Fix #69243.
Diffstat (limited to 'src/test/ui/parser')
-rw-r--r--src/test/ui/parser/macro/pub-item-macro.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/parser/macro/pub-item-macro.stderr b/src/test/ui/parser/macro/pub-item-macro.stderr
index 4ff96532e03..1c5613ac986 100644
--- a/src/test/ui/parser/macro/pub-item-macro.stderr
+++ b/src/test/ui/parser/macro/pub-item-macro.stderr
@@ -14,7 +14,7 @@ error[E0603]: static `x` is private
   --> $DIR/pub-item-macro.rs:20:23
    |
 LL |     let y: u32 = foo::x;
-   |                       ^ this static is private
+   |                       ^ private static
    |
 note: the static `x` is defined here
   --> $DIR/pub-item-macro.rs:5:9