You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make references to GitHub issues in diagnostics consistent #62976
Do some initial review of the *.stderr files in src/test/ui and see how many distinct patterns there are. I'd say this requires some knowledge of command line text processing.
Identify the sources of each distinct pattern in the source code and unify them.
I did an initial pass finding the different types of patterns of referencing Github issues. I was able to find 8 different types as follows -
(base) C02XF1TZJHD3:rust pkoura$ grep -rh --include "*.stderr""/issues/" src/test/ui | sed -E 's/\#[0-9]+/#<ISSUE>/g'| sed -E 's/issues\/[0-9]+/issues\/<ISSUE>/g'| sort -u
see https://github.com/rust-lang/rust/issues/<ISSUE>for more details
= note: for more information, see https://github.com/rust-lang/rust/issues/<ISSUE>
= note: for more information, see issue #<ISSUE> <https://github.com/rust-lang/rust/issues/<ISSUE>>
= note: for more information, see issue https://github.com/rust-lang/rust/issues/<ISSUE>
= note: the trait is implemented for`()`. Possibly this error has been caused by changes to Rust's type-inference algorithm (see: https://github.com/rust-lang/rust/issues/<ISSUE> for more info). Consider whether you meant to use the type `()` here instead.error: use of deprecated attribute `no_debug`: the `#[no_debug]` attribute was an experimental feature that has been deprecated due to lack of demand. See https://github.com/rust-lang/rust/issues/<ISSUE>note: use of `&&` operator here does not actually short circuit due to the const evaluator presently not being able to do control flow. See https://github.com/rust-lang/rust/issues/<ISSUE> for more information.warning: use of deprecated attribute `no_debug`: the `#[no_debug]` attribute was an experimental feature that has been deprecated due to lack of demand. See https://github.com/rust-lang/rust/issues/<ISSUE>
@punitkoura: if you want help finding another good issue to work on, feel free to send me a message on Discord or Zulip. Any of the E-easy or E-mentor issues are good choices, though.
Reacted by Punit Singh Koura and Sorenson Stallings
Activity
shepmaster commentedon Jul 25, 2019
General steps:
Do some initial review of the *.stderr files in
src/test/uiand see how many distinct patterns there are. I'd say this requires some knowledge of command line text processing.Identify the sources of each distinct pattern in the source code and unify them.
The tests will need to be updated with the new diagnostics.
punitkoura commentedon Jul 25, 2019
@shepmaster I'd like to take this up. Seems like a good first contribution to Rust.
Do we have an ETA for this?
shepmaster commentedon Jul 25, 2019
@punitkoura that’s wonderful! ❤️
I don’t think there’s any rush; it was mostly a minor annoyance I had when maintaining the playground.
punitkoura commentedon Jul 26, 2019
I did an initial pass finding the different types of patterns of referencing Github issues. I was able to find 8 different types as follows -
punitkoura commentedon Jul 26, 2019
Will focus now on identifying the sources of these patterns in the source code.
eupn commentedon Jul 26, 2019
@shepmaster please take a look at #63008 PR. @punitkoura, thanks for a list of patterns, you might take a look as well.
varkor commentedon Jul 31, 2019
@punitkoura: if you want help finding another good issue to work on, feel free to send me a message on Discord or Zulip. Any of the E-easy or E-mentor issues are good choices, though.
punitkoura commentedon Jul 31, 2019
Thanks @varkor. I'll be on the lookout 🙂
Rollup merge of rust-lang#63008 - eupn:consistent-see-issue, r=varkor
Rollup merge of rust-lang#68929 - matprec:consistent-issue-references…
Auto merge of #68929 - matprec:consistent-issue-references, r=Dylan-DPC