rust/tests/ui/pub
Matthias Krüger ec6110f00c
Rollup merge of #127656 - RalfJung:pub_use_of_private_extern_crate, r=petrochenkov
make pub_use_of_private_extern_crate show up in cargo's future breakage reports

This has been a lint for many years.

However, turns out that outright removing it right now would lead to [tons of crater regressions](https://github.com/rust-lang/rust/pull/127656#issuecomment-2233288534) due to crates depending on an ancient version of `bitflags`. So for now this PR just makes this future-compat lint show up in cargo's reports, so people are warned when they use a dependency that is affected by this.

r? `@petrochenkov`
2024-07-18 18:10:15 +02:00
..
issue-33174-restricted-type-in-public-interface.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-33174-restricted-type-in-public-interface.stderr Replace old private-in-public diagnostic with type privacy lints 2023-08-02 13:40:28 +03:00
pub-ident-fn-2.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
pub-ident-fn-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
pub-ident-fn-2.stderr Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
pub-ident-fn-or-struct.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pub-ident-fn-or-struct.stderr Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
pub-ident-fn-with-lifetime-2.rs Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
pub-ident-fn-with-lifetime-2.stderr Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
pub-ident-fn-with-lifetime.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
pub-ident-fn-with-lifetime.rs Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
pub-ident-fn-with-lifetime.stderr Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
pub-ident-fn.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
pub-ident-fn.rs Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
pub-ident-fn.stderr Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
pub-ident-struct-2.rs tests: rename test cases to match new behaviour 2023-02-01 21:50:34 +01:00
pub-ident-struct-2.stderr Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
pub-ident-struct-3.rs tests: rename test cases to match new behaviour 2023-02-01 21:50:34 +01:00
pub-ident-struct-3.stderr Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
pub-ident-struct-4.fixed Detect pub structs never constructed and unused associated constants in traits 2024-06-05 23:20:09 +08:00
pub-ident-struct-4.rs Detect pub structs never constructed and unused associated constants in traits 2024-06-05 23:20:09 +08:00
pub-ident-struct-4.stderr Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
pub-ident-struct-with-lifetime.rs Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
pub-ident-struct-with-lifetime.stderr Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
pub-ident-struct.rs Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
pub-ident-struct.stderr Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
pub-ident-with-lifetime-incomplete.rs Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
pub-ident-with-lifetime-incomplete.stderr Add suggestions for possible missing fn, struct, or enum keywords 2024-07-08 10:04:03 +04:00
pub-reexport-priv-extern-crate.rs Spruce up the diagnostics of some early lints 2024-06-03 07:25:32 +02:00
pub-reexport-priv-extern-crate.stderr make pub_use_of_private_extern_crate show up in future breakage reports 2024-07-18 13:43:56 +02:00
pub-restricted-error-fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pub-restricted-error-fn.stderr Add explanatory note to 'expected item' error 2023-09-06 09:05:07 +05:30
pub-restricted-error.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pub-restricted-error.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
pub-restricted-non-path.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pub-restricted-non-path.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
pub-restricted.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
pub-restricted.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00