rust/src/test/ui/privacy
Aaron Hill 0dd9f118d9
Show macro name in 'this error originates in macro' message
When there are multiple macros in use, it can be difficult to tell
which one was responsible for producing an error.
2021-05-12 19:03:06 -04:00
..
auxiliary
pub-priv-dep Fix tests from rebase 2020-10-06 11:19:33 +01:00
restricted Calculate visibilities once in resolve 2020-10-19 11:57:50 +03: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-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
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
privacy-ns1.rs improve error message for const ty param mismatch 2020-11-16 16:07:59 +01:00
privacy-ns1.stderr Improve diagnostics for function passed when a type was expected. 2021-04-25 08:56:50 +02:00
privacy-ns2.rs improve error message for const ty param mismatch 2020-11-16 16:07:59 +01:00
privacy-ns2.stderr Improve diagnostics for function passed when a type was expected. 2021-04-25 08:56:50 +02:00
privacy-reexport.rs
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
privacy1.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
privacy1.stderr Use more targetted span for error label 2020-03-22 16:09:42 -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
privacy5.stderr Normalize wording of privacy access labels 2020-03-22 15:36:54 -07:00
private-class-field.rs
private-impl-method.rs update tests 2020-03-12 15:47:36 -05:00
private-impl-method.stderr Normalize wording of privacy access labels 2020-03-22 15:36:54 -07:00
private-in-public-assoc-ty.full_tait.stderr Replace type_alias_impl_trait by min_type_alias_impl_trait with no actual changes in behaviour 2021-03-15 17:32:43 +00:00
private-in-public-assoc-ty.min_tait.stderr Replace type_alias_impl_trait by min_type_alias_impl_trait with no actual changes in behaviour 2021-03-15 17:32:43 +00:00
private-in-public-assoc-ty.rs Replace type_alias_impl_trait by min_type_alias_impl_trait with no actual changes in behaviour 2021-03-15 17:32:43 +00: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.full_tait.stderr Replace type_alias_impl_trait by min_type_alias_impl_trait with no actual changes in behaviour 2021-03-15 17:32:43 +00:00
private-in-public-type-alias-impl-trait.rs Replace type_alias_impl_trait by min_type_alias_impl_trait with no actual changes in behaviour 2021-03-15 17:32:43 +00: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 Calculate visibilities once in resolve 2020-10-19 11:57:50 +03: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 Normalize wording of privacy access labels 2020-03-22 15:36:54 -07:00
private-method-inherited.rs update tests 2020-03-12 15:47:36 -05:00
private-method-inherited.stderr Normalize wording of privacy access labels 2020-03-22 15:36:54 -07:00
private-method-rpass.rs
private-method.rs update tests 2020-03-12 15:47:36 -05:00
private-method.stderr Normalize wording of privacy access labels 2020-03-22 15:36:54 -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
pub_use_mods_xcrate_exe.rs
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