about summary refs log tree commit diff
path: root/src/test/ui/pub/pub-restricted.stderr
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-65/+0
2022-03-03Cleanup feature gates.Camille GILLOT-6/+6
2019-10-29Change E0741 into E0742Guillaume Gomez-2/+2
2019-10-29Update ui testsGuillaume Gomez-2/+3
2019-05-04Rollup merge of #60429 - estebank:pub-path, r=michaelwoeristerMazdak Farrokhzad-4/+15
Account for paths in incorrect pub qualifier help Handle case where incorrect pub qualifier with a mod path is used and provide the same help given for all other incorrect qualifiers by making the `pub(crate)` parse check more specific.
2019-05-01Added the E0704 error with a link to the Rust reference.Christian-0/+1
2019-04-30Account for paths in incorrect pub qualifier helpEsteban Küber-4/+15
2019-04-18hide `--explain` hint if error has no extended infoAndy Russell-1/+0
2019-03-11Update testsVadim Petrochenkov-5/+5
2018-12-25Remove licensesMark Rousskov-5/+5
2018-06-19Update error code numbersEsteban Küber-5/+5
2018-06-19Add code to incorrect `pub` restriction errorEsteban Küber-4/+5
2018-02-26Update UI testsVadim Petrochenkov-5/+5
2017-11-24Merge cfail and ui tests into ui testsOliver Schneider-5/+5
2017-07-02Revert "Change error count messages"Ariel Ben-Yehuda-1/+1
This reverts commit 5558c64f33446225739c1153b43d2e309bb4f50e.
2017-05-24Change error count messagesMichael Kohl-1/+1
See #33525 for details.
2017-04-25Rebase and address commentsOliver Schneider-4/+4
2017-04-25Address PR commentsOliver Schneider-4/+4
2017-04-25Update affected testsOliver Schneider-13/+18
2017-03-22Add diagnostic for incorrect `pub (restriction)`Esteban Küber-0/+47
Given the following statement ```rust pub (a) fn afn() {} ``` Provide the following diagnostic: ```rust error: incorrect restriction in `pub` --> file.rs:15:1 | 15 | pub (a) fn afn() {} | ^^^^^^^ | = help: some valid visibility restrictions are: `pub(crate)`: visible only on the current crate `pub(super)`: visible only in the current module's parent `pub(in path::to::module)`: visible only on the specified path help: to make this visible only to module `a`, add `in` before the path: | pub (in a) fn afn() {} ``` Remove cruft from old `pub(path)` syntax.