about summary refs log tree commit diff
path: root/compiler/rustc_privacy/src/errors.rs
AgeCommit message (Expand)AuthorLines
2025-01-18Emit a single privacy error for multiple fields on the same struct expressionEsteban Küber-5/+7
2025-01-18Add context on private fields that are not on the same line as the struct nameEsteban Küber-0/+2
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-08-29Add `warn(unreachable_pub)` to `rustc_privacy`.Nicholas Nethercote-9/+9
2024-07-29Reformat `use` declarations.Nicholas Nethercote-1/+2
2024-02-28Rename `DiagnosticArgFromDisplay` as `DiagArgFromDisplay`.Nicholas Nethercote-7/+7
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-3/+3
2023-08-02Replace old private-in-public diagnostic with type privacy lintsBryanskiy-23/+0
2023-06-29Fix type privacy lints error messageBryanskiy-1/+1
2023-06-12Private-in-public lints implementationBryanskiy-0/+29
2023-02-22errors: generate typed identifiers in each crateDavid Wood-2/+2
2022-10-23Migrate all diagnosticsNilstrieb-12/+12
2022-09-21UPDATE - rename SessionSubdiagnostic macro to SubdiagnosticJhonny Bill Mena-2/+2
2022-09-21UPDATE - rename DiagnosticHandler macro to DiagnosticJhonny Bill Mena-6/+6
2022-09-21UPDATE - rename DiagnosticHandler trait to IntoDiagnosticJhonny Bill Mena-7/+7
2022-09-14change AccessLevels representationBryanskiy-2/+2
2022-08-31add TestReachabilityVisitorBryanskiy-0/+8
2022-08-21Replace #[lint/warning/error] with #[diag]Xiretza-7/+7
2022-08-05move DiagnosticArgFromDisplay into rustc_errorsMichael Goulet-16/+6
2022-08-05Delay formatting trimmed path until lint/error is emittedMichael Goulet-5/+16
2022-07-15errors: lint on `LintDiagnosticBuilder::build`David Wood-1/+17
2022-06-27privacy: port "in public interface" diagDavid Wood-0/+28
2022-06-27privacy: port unnamed "item is private" diagDavid Wood-0/+8
2022-06-27privacy: port "item is private" diagDavid Wood-0/+10
2022-06-27privacy: port "field is private" diagDavid Wood-0/+29