rust/src/test/ui/privacy
bors fa2692990c Auto merge of #87600 - JohnTitor:classify-ui-tests, r=petrochenkov
Move some UI tests to more suitable subdirs

The classifui result: https://gist.github.com/JohnTitor/c9e00840990b5e4a8fc562ec3571e427/e06c42226c6038da91e403c33b9947843420cf44

Some notes:
- backtrace-debuginfo.rs: previously I skipped this, I'm still not sure what the best dir is. Any ideas?
- estr-subtyping.rs: Seems a quite old test so removed, shouldn't?
- deref-suggestion.rs: moved to inference as `suggestions` is not an ideal dir.
- issue-43023.rs: a bit misclassified, moved to `derives`

cc #73494
r? `@petrochenkov`
2021-08-14 09:25:33 +00:00
..
auxiliary tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
pub-priv-dep Fix tests from rebase 2020-10-06 11:19:33 +01:00
restricted Remove trailing whitespace from error messages 2021-08-04 10:48:30 +02:00
associated-item-privacy-inherent.rs
associated-item-privacy-inherent.stderr Show macro name in 'this error originates in macro' message 2021-05-12 19:03:06 -04:00
associated-item-privacy-trait.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
associated-item-privacy-trait.stderr Show macro name in 'this error originates in macro' message 2021-05-12 19:03:06 -04:00
associated-item-privacy-type-binding.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
associated-item-privacy-type-binding.stderr Show macro name in 'this error originates in macro' message 2021-05-12 19:03:06 -04:00
decl-macro.rs
decl-macro.stderr Normalize wording of privacy access labels 2020-03-22 15:36:54 -07:00
issue-13641.rs Move some UI tests to more suitable subdirs 2021-08-10 13:34:05 +09:00
issue-13641.stderr Move some UI tests to more suitable subdirs 2021-08-10 13:34:05 +09:00
issue-29161.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-29161.stderr Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-30079.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-30079.stderr Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
issue-46209-private-enum-variant-reexport.rs resolve: Remove visibility hacks for enum variants and trait items 2021-02-10 22:46:44 +03:00
issue-46209-private-enum-variant-reexport.stderr resolve: Remove visibility hacks for enum variants and trait items 2021-02-10 22:46:44 +03:00
issue-57264-1.rs Apply review suggestions 2019-11-06 00:00:00 +00:00
issue-57264-2.rs Apply review suggestions 2019-11-06 00:00:00 +00:00
issue-75062-fieldless-tuple-struct.rs Handle fieldless tuple structs in diagnostic code 2020-08-05 07:59:26 -04:00
issue-75062-fieldless-tuple-struct.stderr Handle fieldless tuple structs in diagnostic code 2020-08-05 07:59:26 -04:00
legacy-ctor-visibility.rs legacy_ctor_visibility -> error 2019-11-06 11:08:23 +01:00
legacy-ctor-visibility.stderr Do not suggest similarly named enclosing item 2020-08-10 12:04:10 -07:00
priv-impl-prim-ty.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
priv-in-bad-locations.rs Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
priv-in-bad-locations.stderr Move some tests to more reasonable directories - 2 2021-01-16 19:46:54 -03:00
privacy-in-paths.rs
privacy-in-paths.stderr Normalize wording of privacy access labels 2020-03-22 15:36:54 -07:00
privacy-ns.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
privacy-ns1.rs improve error message for const ty param mismatch 2020-11-16 16:07:59 +01:00
privacy-ns1.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
privacy-ns2.rs improve error message for const ty param mismatch 2020-11-16 16:07:59 +01:00
privacy-ns2.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
privacy-reexport.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
privacy-sanity.rs introduce negative_impls feature gate and document 2020-03-26 06:52:55 -04:00
privacy-sanity.stderr
privacy-ufcs.rs
privacy-ufcs.stderr Normalize wording of privacy access labels 2020-03-22 15:36:54 -07:00
privacy1-rpass.rs tests: Move run-pass tests with naming conflicts to ui 2019-07-27 18:56:17 +03:00
privacy1.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
privacy1.stderr Various diagnostics clean ups/tweaks 2021-07-19 08:43:35 -07:00
privacy2.rs
privacy2.stderr Normalize wording of privacy access labels 2020-03-22 15:36:54 -07:00
privacy3.rs
privacy3.stderr
privacy4.rs
privacy4.stderr Normalize wording of privacy access labels 2020-03-22 15:36:54 -07:00
privacy5.rs resolve: fix error title regarding private constructors 2019-10-11 18:09:23 +03:00
privacy5.stderr Remove trailing whitespace from error messages 2021-08-04 10:48:30 +02:00
private-class-field.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
private-impl-method.rs update tests 2020-03-12 15:47:36 -05:00
private-impl-method.stderr Various diagnostics clean ups/tweaks 2021-07-19 08:43:35 -07:00
private-in-public-assoc-ty.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
private-in-public-assoc-ty.stderr Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
private-in-public-expr-pat.rs
private-in-public-ill-formed.rs Improve E0118 description 2020-09-11 19:48:43 +02:00
private-in-public-ill-formed.stderr Improve E0118 description 2020-09-11 19:48:43 +02:00
private-in-public-lint.rs
private-in-public-lint.stderr Calculate visibilities once in resolve 2020-10-19 11:57:50 +03:00
private-in-public-non-principal-2.rs Rename optin_builtin_traits to auto_traits 2020-11-23 14:14:06 -08:00
private-in-public-non-principal-2.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
private-in-public-non-principal.rs Rename optin_builtin_traits to auto_traits 2020-11-23 14:14:06 -08:00
private-in-public-non-principal.stderr Use smaller def span for functions 2020-08-22 18:41:49 -04:00
private-in-public-type-alias-impl-trait.rs Make all tests use type_alias_impl_trait feature instead of min 2021-07-27 12:33:02 -03:00
private-in-public-warn.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
private-in-public-warn.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
private-in-public.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
private-in-public.stderr Calculate visibilities once in resolve 2020-10-19 11:57:50 +03:00
private-inferred-type-1.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
private-inferred-type-1.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
private-inferred-type-2.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
private-inferred-type-2.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
private-inferred-type-3.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
private-inferred-type-3.stderr Show macro name in 'this error originates in macro' message 2021-05-12 19:03:06 -04:00
private-inferred-type.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
private-inferred-type.stderr Show macro name in 'this error originates in macro' message 2021-05-12 19:03:06 -04:00
private-item-simple.rs
private-item-simple.stderr Normalize wording of privacy access labels 2020-03-22 15:36:54 -07:00
private-method-cross-crate.rs update tests 2020-03-12 15:47:36 -05:00
private-method-cross-crate.stderr Remove trailing whitespace from error messages 2021-08-04 10:48:30 +02:00
private-method-inherited.rs update tests 2020-03-12 15:47:36 -05:00
private-method-inherited.stderr Various diagnostics clean ups/tweaks 2021-07-19 08:43:35 -07:00
private-method-rpass.rs tests: Move run-pass tests with naming conflicts to ui 2019-07-27 18:56:17 +03:00
private-method.rs update tests 2020-03-12 15:47:36 -05:00
private-method.stderr Various diagnostics clean ups/tweaks 2021-07-19 08:43:35 -07:00
private-struct-field-cross-crate.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
private-struct-field-cross-crate.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
private-struct-field-ctor.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
private-struct-field-ctor.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
private-struct-field-pattern.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
private-struct-field-pattern.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
private-struct-field.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
private-struct-field.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
private-type-in-interface.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
private-type-in-interface.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
private-variant-reexport.rs resolve: Remove visibility hacks for enum variants and trait items 2021-02-10 22:46:44 +03:00
private-variant-reexport.stderr resolve: Remove visibility hacks for enum variants and trait items 2021-02-10 22:46:44 +03:00
pub-extern-privacy.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
pub-use-xcrate.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
pub_use_mods_xcrate_exe.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
union-field-privacy-1.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
union-field-privacy-1.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
union-field-privacy-2.rs pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
union-field-privacy-2.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00