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.
This commit is contained in:
Mazdak Farrokhzad 2020-03-23 10:29:09 +01:00 committed by GitHub
commit 906b399583
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
137 changed files with 818 additions and 663 deletions

View file

@ -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