diff options
author | Michael Goulet <michael@errs.io> | 2023-01-08 19:57:55 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-08 19:57:55 -0800 |
commit | 29420a8e7ab5d5aeeacdd8103eed7c8c19be7001 (patch) | |
tree | 576f5152401f8c1bce7563b8a1dd691664651cc1 /tests/rustdoc-js-std/parser-errors.js | |
parent | 70f1566b2bbdf92dffb40fa122986a58b2c4ee86 (diff) | |
parent | 59aa421f3518b28bba5ebc883714638e65b0a3c5 (diff) | |
download | rust-29420a8e7ab5d5aeeacdd8103eed7c8c19be7001.tar.gz |
Rollup merge of #106600 - compiler-errors:no-private-field-ty-err, r=estebank
Suppress type errors that come from private fields
Fixes #57320
There was some discussion here (https://github.com/rust-lang/rust/issues/57320#issuecomment-451308420), but I honestly think the second error is worth suppressing regardless.
I would be open to feedback though -- perhaps we can suppress the `.len()` suggestion if there's type error (since we have access to [`Expectation`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_hir_typeck/enum.Expectation.html), we can determine that).
r? ``@estebank``
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions