diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2019-09-24 11:05:49 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2019-09-24 11:31:14 -0700 |
| commit | d9ab4ff9a3746c8663278f7338cfb4aabf96a9bb (patch) | |
| tree | 76c7e592f038b38a65deb81c841cfaf934a25804 /src/test/ui/methods | |
| parent | 6ef275e6c3cb1384ec78128eceeb4963ff788dca (diff) | |
Remove blanket silencing of "type annotation needed" errors
Remove blanket check for existence of other errors before emitting "type annotation needed" errors, and add some eager checks to avoid adding obligations when they refer to types that reference `[type error]` in order to reduce unneded errors.
Diffstat (limited to 'src/test/ui/methods')
| -rw-r--r-- | src/test/ui/methods/method-ambig-one-trait-unknown-int-type.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/methods/method-ambig-one-trait-unknown-int-type.rs b/src/test/ui/methods/method-ambig-one-trait-unknown-int-type.rs index e33f23c64db..49fe7d1324c 100644 --- a/src/test/ui/methods/method-ambig-one-trait-unknown-int-type.rs +++ b/src/test/ui/methods/method-ambig-one-trait-unknown-int-type.rs @@ -15,7 +15,7 @@ impl Foo for Vec<isize> { } // This is very hokey: we have heuristics to suppress messages about -// type annotations required. But placing these two bits of code into +// type annotations needed. But placing these two bits of code into // distinct functions, in this order, causes us to print out both // errors I'd like to see. |
