rust/src/test/ui/privacy
bors 5371ddf8c6 Auto merge of #68080 - varkor:declared-here, r=petrochenkov
Address inconsistency in using "is" with "declared here"

"is" was generally used for NLL diagnostics, but not other diagnostics. Using "is" makes the diagnostics sound more natural and readable, so it seems sensible to commit to them throughout.

r? @Centril
2020-01-31 15:13:51 +00:00
..
auxiliary tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
pub-priv-dep Normalise notes with the/is 2020-01-24 16:24:50 +00:00
restricted resolve: Point at the private item definitions in privacy errors 2020-01-16 21:59:11 +03:00
associated-item-privacy-inherent.rs rustc: pass Option<&Substs> and Namespace around in ty::item_path. 2019-03-15 13:25:10 +02:00
associated-item-privacy-inherent.stderr rustc: pass Option<&Substs> and Namespace around in ty::item_path. 2019-03-15 13:25:10 +02:00
associated-item-privacy-trait.rs Remove licenses 2018-12-25 21:08:33 -07:00
associated-item-privacy-trait.stderr Remove licenses 2018-12-25 21:08:33 -07:00
associated-item-privacy-type-binding.rs Address review comments 2019-01-01 01:39:55 +03:00
associated-item-privacy-type-binding.stderr Address review comments 2019-01-01 01:39:55 +03:00
decl-macro.rs resolve: Check resolution consistency for import paths and multi-segment macro paths 2018-11-18 13:55:58 +03:00
decl-macro.stderr resolve: Point at the private item definitions in privacy errors 2020-01-16 21:59:11 +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
legacy-ctor-visibility.rs legacy_ctor_visibility -> error 2019-11-06 11:08:23 +01:00
legacy-ctor-visibility.stderr legacy_ctor_visibility -> error 2019-11-06 11:08:23 +01:00
priv-impl-prim-ty.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03:00
privacy-in-paths.rs Remove licenses 2018-12-25 21:08:33 -07:00
privacy-in-paths.stderr resolve: Point at the private item definitions in privacy errors 2020-01-16 21:59:11 +03: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 test: Update tests with fallout of changes 2019-11-18 17:23:22 -05:00
privacy-ns1.stderr Suggest defining type parameter when appropriate 2020-01-26 10:57:18 -08:00
privacy-ns2.rs test: Update tests with fallout of changes 2019-11-18 17:23:22 -05:00
privacy-ns2.stderr resolve: Point at the private item definitions in privacy errors 2020-01-16 21:59:11 +03: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 Remove licenses 2018-12-25 21:08:33 -07:00
privacy-sanity.stderr Update tests 2019-03-11 23:10:26 +03:00
privacy-ufcs.rs Remove licenses 2018-12-25 21:08:33 -07:00
privacy-ufcs.stderr resolve: Point at the private item definitions in privacy errors 2020-01-16 21:59:11 +03: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 2020-01-09 21:23:12 +03:00
privacy1.stderr resolve: Point at the private item definitions in privacy errors 2020-01-16 21:59:11 +03:00
privacy2.rs Remove licenses 2018-12-25 21:08:33 -07:00
privacy2.stderr resolve: Say "import" when reporting private imports 2020-01-16 21:59:11 +03:00
privacy3.rs Remove licenses 2018-12-25 21:08:33 -07:00
privacy3.stderr Remove licenses 2018-12-25 21:08:33 -07:00
privacy4.rs Remove licenses 2018-12-25 21:08:33 -07:00
privacy4.stderr resolve: Point at the private item definitions in privacy errors 2020-01-16 21:59:11 +03:00
privacy5.rs resolve: fix error title regarding private constructors 2019-10-11 18:09:23 +03:00
privacy5.stderr resolve: Point at the private item definitions in privacy errors 2020-01-16 21:59:11 +03: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 Remove licenses 2018-12-25 21:08:33 -07:00
private-impl-method.stderr Update tests 2019-03-11 23:10:26 +03:00
private-in-public-assoc-ty.rs Update tests 2020-01-09 21:23:12 +03:00
private-in-public-assoc-ty.stderr Update tests 2020-01-09 21:23:12 +03:00
private-in-public-expr-pat.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
private-in-public-ill-formed.rs Remove licenses 2018-12-25 21:08:33 -07:00
private-in-public-ill-formed.stderr Update tests 2019-03-11 23:10:26 +03:00
private-in-public-lint.rs Remove licenses 2018-12-25 21:08:33 -07:00
private-in-public-lint.stderr Update tests 2019-03-11 23:10:26 +03:00
private-in-public-non-principal-2.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
private-in-public-non-principal-2.stderr Address review comments 2019-01-01 01:39:55 +03:00
private-in-public-non-principal.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
private-in-public-non-principal.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
private-in-public-type-alias-impl-trait.rs Replace "existential" by "opaque" 2019-08-02 02:44:36 +01:00
private-in-public-warn.rs Move privacy checking later in the pipeline and make some passes run in parallel 2019-01-30 21:19:02 +01:00
private-in-public-warn.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
private-in-public.rs privacy: Use common DefId visiting infra for all privacy visitors 2019-01-01 01:39:55 +03:00
private-in-public.stderr hide --explain hint if error has no extended info 2019-04-18 13:29:28 -04:00
private-inferred-type-1.rs Remove licenses 2018-12-25 21:08:33 -07:00
private-inferred-type-1.stderr Update tests 2019-03-11 23:10:26 +03:00
private-inferred-type-2.rs Remove licenses 2018-12-25 21:08:33 -07:00
private-inferred-type-2.stderr Update tests 2019-03-11 23:10:26 +03:00
private-inferred-type-3.rs rustc: pass Option<&Substs> and Namespace around in ty::item_path. 2019-03-15 13:25:10 +02:00
private-inferred-type-3.stderr rustc: pass Option<&Substs> and Namespace around in ty::item_path. 2019-03-15 13:25:10 +02:00
private-inferred-type.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
private-inferred-type.stderr rustc: pass Option<&Substs> and Namespace around in ty::item_path. 2019-03-15 13:25:10 +02:00
private-item-simple.rs Remove licenses 2018-12-25 21:08:33 -07:00
private-item-simple.stderr resolve: Point at the private item definitions in privacy errors 2020-01-16 21:59:11 +03:00
private-method-cross-crate.rs Remove licenses 2018-12-25 21:08:33 -07:00
private-method-cross-crate.stderr Update tests 2019-03-11 23:10:26 +03:00
private-method-inherited.rs Remove licenses 2018-12-25 21:08:33 -07:00
private-method-inherited.stderr Update tests 2019-03-11 23:10:26 +03: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 Remove licenses 2018-12-25 21:08:33 -07:00
private-method.stderr Update tests 2019-03-11 23:10:26 +03:00
private-struct-field-cross-crate.rs Remove licenses 2018-12-25 21:08:33 -07:00
private-struct-field-cross-crate.stderr Remove licenses 2018-12-25 21:08:33 -07:00
private-struct-field-ctor.rs Remove licenses 2018-12-25 21:08:33 -07:00
private-struct-field-ctor.stderr Update tests 2019-03-11 23:10:26 +03:00
private-struct-field-pattern.rs Remove licenses 2018-12-25 21:08:33 -07:00
private-struct-field-pattern.stderr Update tests 2019-03-11 23:10:26 +03:00
private-struct-field.rs Remove licenses 2018-12-25 21:08:33 -07:00
private-struct-field.stderr Update tests 2019-03-11 23:10:26 +03:00
private-type-in-interface.rs Remove licenses 2018-12-25 21:08:33 -07:00
private-type-in-interface.stderr Update tests 2019-03-11 23:10:26 +03:00
private-variant-reexport.rs Remove licenses 2018-12-25 21:08:33 -07:00
private-variant-reexport.stderr Update tests 2019-03-11 23:10:26 +03:00
pub-extern-privacy.rs tests: Move run-pass tests without naming conflicts to ui 2019-07-27 18:56:16 +03: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 Remove licenses 2018-12-25 21:08:33 -07:00
union-field-privacy-1.stderr Update tests 2019-03-11 23:10:26 +03:00
union-field-privacy-2.rs Fix test. 2019-08-30 00:57:20 +05:30
union-field-privacy-2.stderr Fix test. 2019-08-30 00:57:20 +05:30