diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:13 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:13 +0000 |
commit | 218caa410aa38c29984be31a5229b9fa717560ee (patch) | |
tree | c54bd55eeb6e4c508940a30e94c0032fbd45d677 /tests/ui-fulldeps/internal-lints | |
parent | Releasing progress-linux version 1.67.1+dfsg1-1~progress7.99u1. (diff) | |
download | rustc-218caa410aa38c29984be31a5229b9fa717560ee.tar.xz rustc-218caa410aa38c29984be31a5229b9fa717560ee.zip |
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | tests/ui-fulldeps/internal-lints/bad_opt_access.rs (renamed from src/test/ui-fulldeps/internal-lints/bad_opt_access.rs) | 0 | ||||
-rw-r--r-- | tests/ui-fulldeps/internal-lints/bad_opt_access.stderr (renamed from src/test/ui-fulldeps/internal-lints/bad_opt_access.stderr) | 0 | ||||
-rw-r--r-- | tests/ui-fulldeps/internal-lints/default_hash_types.rs (renamed from src/test/ui-fulldeps/internal-lints/default_hash_types.rs) | 0 | ||||
-rw-r--r-- | tests/ui-fulldeps/internal-lints/default_hash_types.stderr (renamed from src/test/ui-fulldeps/internal-lints/default_hash_types.stderr) | 0 | ||||
-rw-r--r-- | tests/ui-fulldeps/internal-lints/diagnostics.rs (renamed from src/test/ui-fulldeps/internal-lints/diagnostics.rs) | 0 | ||||
-rw-r--r-- | tests/ui-fulldeps/internal-lints/diagnostics.stderr (renamed from src/test/ui-fulldeps/internal-lints/diagnostics.stderr) | 0 | ||||
-rw-r--r-- | tests/ui-fulldeps/internal-lints/diagnostics_incorrect.rs (renamed from src/test/ui-fulldeps/internal-lints/diagnostics_incorrect.rs) | 0 | ||||
-rw-r--r-- | tests/ui-fulldeps/internal-lints/diagnostics_incorrect.stderr (renamed from src/test/ui-fulldeps/internal-lints/diagnostics_incorrect.stderr) | 0 | ||||
-rw-r--r-- | tests/ui-fulldeps/internal-lints/existing_doc_keyword.rs (renamed from src/test/ui-fulldeps/internal-lints/existing_doc_keyword.rs) | 0 | ||||
-rw-r--r-- | tests/ui-fulldeps/internal-lints/existing_doc_keyword.stderr (renamed from src/test/ui-fulldeps/internal-lints/existing_doc_keyword.stderr) | 0 | ||||
-rw-r--r-- | tests/ui-fulldeps/internal-lints/lint_pass_impl_without_macro.rs (renamed from src/test/ui-fulldeps/internal-lints/lint_pass_impl_without_macro.rs) | 0 | ||||
-rw-r--r-- | tests/ui-fulldeps/internal-lints/lint_pass_impl_without_macro.stderr (renamed from src/test/ui-fulldeps/internal-lints/lint_pass_impl_without_macro.stderr) | 0 | ||||
-rw-r--r-- | tests/ui-fulldeps/internal-lints/qualified_ty_ty_ctxt.rs (renamed from src/test/ui-fulldeps/internal-lints/qualified_ty_ty_ctxt.rs) | 0 | ||||
-rw-r--r-- | tests/ui-fulldeps/internal-lints/qualified_ty_ty_ctxt.stderr (renamed from src/test/ui-fulldeps/internal-lints/qualified_ty_ty_ctxt.stderr) | 0 | ||||
-rw-r--r-- | tests/ui-fulldeps/internal-lints/query_stability.rs (renamed from src/test/ui-fulldeps/internal-lints/query_stability.rs) | 0 | ||||
-rw-r--r-- | tests/ui-fulldeps/internal-lints/query_stability.stderr (renamed from src/test/ui-fulldeps/internal-lints/query_stability.stderr) | 0 | ||||
-rw-r--r-- | tests/ui-fulldeps/internal-lints/query_stability_incorrect.rs (renamed from src/test/ui-fulldeps/internal-lints/query_stability_incorrect.rs) | 0 | ||||
-rw-r--r-- | tests/ui-fulldeps/internal-lints/query_stability_incorrect.stderr (renamed from src/test/ui-fulldeps/internal-lints/query_stability_incorrect.stderr) | 0 | ||||
-rw-r--r-- | tests/ui-fulldeps/internal-lints/rustc_pass_by_value.rs (renamed from src/test/ui-fulldeps/internal-lints/rustc_pass_by_value.rs) | 0 | ||||
-rw-r--r-- | tests/ui-fulldeps/internal-lints/rustc_pass_by_value.stderr (renamed from src/test/ui-fulldeps/internal-lints/rustc_pass_by_value.stderr) | 0 | ||||
-rw-r--r-- | tests/ui-fulldeps/internal-lints/rustc_pass_by_value_self.rs (renamed from src/test/ui-fulldeps/internal-lints/rustc_pass_by_value_self.rs) | 0 | ||||
-rw-r--r-- | tests/ui-fulldeps/internal-lints/rustc_pass_by_value_self.stderr (renamed from src/test/ui-fulldeps/internal-lints/rustc_pass_by_value_self.stderr) | 0 | ||||
-rw-r--r-- | tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs (renamed from src/test/ui-fulldeps/internal-lints/ty_tykind_usage.rs) | 3 | ||||
-rw-r--r-- | tests/ui-fulldeps/internal-lints/ty_tykind_usage.stderr (renamed from src/test/ui-fulldeps/internal-lints/ty_tykind_usage.stderr) | 28 |
24 files changed, 12 insertions, 19 deletions
diff --git a/src/test/ui-fulldeps/internal-lints/bad_opt_access.rs b/tests/ui-fulldeps/internal-lints/bad_opt_access.rs index d6bd6945e..d6bd6945e 100644 --- a/src/test/ui-fulldeps/internal-lints/bad_opt_access.rs +++ b/tests/ui-fulldeps/internal-lints/bad_opt_access.rs diff --git a/src/test/ui-fulldeps/internal-lints/bad_opt_access.stderr b/tests/ui-fulldeps/internal-lints/bad_opt_access.stderr index e4145bff8..e4145bff8 100644 --- a/src/test/ui-fulldeps/internal-lints/bad_opt_access.stderr +++ b/tests/ui-fulldeps/internal-lints/bad_opt_access.stderr diff --git a/src/test/ui-fulldeps/internal-lints/default_hash_types.rs b/tests/ui-fulldeps/internal-lints/default_hash_types.rs index 795c7d2dc..795c7d2dc 100644 --- a/src/test/ui-fulldeps/internal-lints/default_hash_types.rs +++ b/tests/ui-fulldeps/internal-lints/default_hash_types.rs diff --git a/src/test/ui-fulldeps/internal-lints/default_hash_types.stderr b/tests/ui-fulldeps/internal-lints/default_hash_types.stderr index 3cb13082f..3cb13082f 100644 --- a/src/test/ui-fulldeps/internal-lints/default_hash_types.stderr +++ b/tests/ui-fulldeps/internal-lints/default_hash_types.stderr diff --git a/src/test/ui-fulldeps/internal-lints/diagnostics.rs b/tests/ui-fulldeps/internal-lints/diagnostics.rs index 643e81d99..643e81d99 100644 --- a/src/test/ui-fulldeps/internal-lints/diagnostics.rs +++ b/tests/ui-fulldeps/internal-lints/diagnostics.rs diff --git a/src/test/ui-fulldeps/internal-lints/diagnostics.stderr b/tests/ui-fulldeps/internal-lints/diagnostics.stderr index 510d6a171..510d6a171 100644 --- a/src/test/ui-fulldeps/internal-lints/diagnostics.stderr +++ b/tests/ui-fulldeps/internal-lints/diagnostics.stderr diff --git a/src/test/ui-fulldeps/internal-lints/diagnostics_incorrect.rs b/tests/ui-fulldeps/internal-lints/diagnostics_incorrect.rs index 99f99ffcd..99f99ffcd 100644 --- a/src/test/ui-fulldeps/internal-lints/diagnostics_incorrect.rs +++ b/tests/ui-fulldeps/internal-lints/diagnostics_incorrect.rs diff --git a/src/test/ui-fulldeps/internal-lints/diagnostics_incorrect.stderr b/tests/ui-fulldeps/internal-lints/diagnostics_incorrect.stderr index e849ca282..e849ca282 100644 --- a/src/test/ui-fulldeps/internal-lints/diagnostics_incorrect.stderr +++ b/tests/ui-fulldeps/internal-lints/diagnostics_incorrect.stderr diff --git a/src/test/ui-fulldeps/internal-lints/existing_doc_keyword.rs b/tests/ui-fulldeps/internal-lints/existing_doc_keyword.rs index 7783dc40f..7783dc40f 100644 --- a/src/test/ui-fulldeps/internal-lints/existing_doc_keyword.rs +++ b/tests/ui-fulldeps/internal-lints/existing_doc_keyword.rs diff --git a/src/test/ui-fulldeps/internal-lints/existing_doc_keyword.stderr b/tests/ui-fulldeps/internal-lints/existing_doc_keyword.stderr index 4e296fff6..4e296fff6 100644 --- a/src/test/ui-fulldeps/internal-lints/existing_doc_keyword.stderr +++ b/tests/ui-fulldeps/internal-lints/existing_doc_keyword.stderr diff --git a/src/test/ui-fulldeps/internal-lints/lint_pass_impl_without_macro.rs b/tests/ui-fulldeps/internal-lints/lint_pass_impl_without_macro.rs index f6f0c0385..f6f0c0385 100644 --- a/src/test/ui-fulldeps/internal-lints/lint_pass_impl_without_macro.rs +++ b/tests/ui-fulldeps/internal-lints/lint_pass_impl_without_macro.rs diff --git a/src/test/ui-fulldeps/internal-lints/lint_pass_impl_without_macro.stderr b/tests/ui-fulldeps/internal-lints/lint_pass_impl_without_macro.stderr index ad6e93334..ad6e93334 100644 --- a/src/test/ui-fulldeps/internal-lints/lint_pass_impl_without_macro.stderr +++ b/tests/ui-fulldeps/internal-lints/lint_pass_impl_without_macro.stderr diff --git a/src/test/ui-fulldeps/internal-lints/qualified_ty_ty_ctxt.rs b/tests/ui-fulldeps/internal-lints/qualified_ty_ty_ctxt.rs index 32b987338..32b987338 100644 --- a/src/test/ui-fulldeps/internal-lints/qualified_ty_ty_ctxt.rs +++ b/tests/ui-fulldeps/internal-lints/qualified_ty_ty_ctxt.rs diff --git a/src/test/ui-fulldeps/internal-lints/qualified_ty_ty_ctxt.stderr b/tests/ui-fulldeps/internal-lints/qualified_ty_ty_ctxt.stderr index a1056cf85..a1056cf85 100644 --- a/src/test/ui-fulldeps/internal-lints/qualified_ty_ty_ctxt.stderr +++ b/tests/ui-fulldeps/internal-lints/qualified_ty_ty_ctxt.stderr diff --git a/src/test/ui-fulldeps/internal-lints/query_stability.rs b/tests/ui-fulldeps/internal-lints/query_stability.rs index 560675b44..560675b44 100644 --- a/src/test/ui-fulldeps/internal-lints/query_stability.rs +++ b/tests/ui-fulldeps/internal-lints/query_stability.rs diff --git a/src/test/ui-fulldeps/internal-lints/query_stability.stderr b/tests/ui-fulldeps/internal-lints/query_stability.stderr index ee4ef9982..ee4ef9982 100644 --- a/src/test/ui-fulldeps/internal-lints/query_stability.stderr +++ b/tests/ui-fulldeps/internal-lints/query_stability.stderr diff --git a/src/test/ui-fulldeps/internal-lints/query_stability_incorrect.rs b/tests/ui-fulldeps/internal-lints/query_stability_incorrect.rs index f478b7332..f478b7332 100644 --- a/src/test/ui-fulldeps/internal-lints/query_stability_incorrect.rs +++ b/tests/ui-fulldeps/internal-lints/query_stability_incorrect.rs diff --git a/src/test/ui-fulldeps/internal-lints/query_stability_incorrect.stderr b/tests/ui-fulldeps/internal-lints/query_stability_incorrect.stderr index 3f78b39ed..3f78b39ed 100644 --- a/src/test/ui-fulldeps/internal-lints/query_stability_incorrect.stderr +++ b/tests/ui-fulldeps/internal-lints/query_stability_incorrect.stderr diff --git a/src/test/ui-fulldeps/internal-lints/rustc_pass_by_value.rs b/tests/ui-fulldeps/internal-lints/rustc_pass_by_value.rs index 10bab2d88..10bab2d88 100644 --- a/src/test/ui-fulldeps/internal-lints/rustc_pass_by_value.rs +++ b/tests/ui-fulldeps/internal-lints/rustc_pass_by_value.rs diff --git a/src/test/ui-fulldeps/internal-lints/rustc_pass_by_value.stderr b/tests/ui-fulldeps/internal-lints/rustc_pass_by_value.stderr index 69cf20656..69cf20656 100644 --- a/src/test/ui-fulldeps/internal-lints/rustc_pass_by_value.stderr +++ b/tests/ui-fulldeps/internal-lints/rustc_pass_by_value.stderr diff --git a/src/test/ui-fulldeps/internal-lints/rustc_pass_by_value_self.rs b/tests/ui-fulldeps/internal-lints/rustc_pass_by_value_self.rs index 6ce67dcaf..6ce67dcaf 100644 --- a/src/test/ui-fulldeps/internal-lints/rustc_pass_by_value_self.rs +++ b/tests/ui-fulldeps/internal-lints/rustc_pass_by_value_self.rs diff --git a/src/test/ui-fulldeps/internal-lints/rustc_pass_by_value_self.stderr b/tests/ui-fulldeps/internal-lints/rustc_pass_by_value_self.stderr index fb39ed60b..fb39ed60b 100644 --- a/src/test/ui-fulldeps/internal-lints/rustc_pass_by_value_self.stderr +++ b/tests/ui-fulldeps/internal-lints/rustc_pass_by_value_self.stderr diff --git a/src/test/ui-fulldeps/internal-lints/ty_tykind_usage.rs b/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs index 2cb1ed6fc..3f7429a5f 100644 --- a/src/test/ui-fulldeps/internal-lints/ty_tykind_usage.rs +++ b/tests/ui-fulldeps/internal-lints/ty_tykind_usage.rs @@ -33,8 +33,7 @@ fn main() { TyKind::GeneratorWitness(..) => (), //~ ERROR usage of `ty::TyKind::<kind>` TyKind::Never => (), //~ ERROR usage of `ty::TyKind::<kind>` TyKind::Tuple(..) => (), //~ ERROR usage of `ty::TyKind::<kind>` - TyKind::Projection(..) => (), //~ ERROR usage of `ty::TyKind::<kind>` - TyKind::Opaque(..) => (), //~ ERROR usage of `ty::TyKind::<kind>` + TyKind::Alias(..) => (), //~ ERROR usage of `ty::TyKind::<kind>` TyKind::Param(..) => (), //~ ERROR usage of `ty::TyKind::<kind>` TyKind::Bound(..) => (), //~ ERROR usage of `ty::TyKind::<kind>` TyKind::Placeholder(..) => (), //~ ERROR usage of `ty::TyKind::<kind>` diff --git a/src/test/ui-fulldeps/internal-lints/ty_tykind_usage.stderr b/tests/ui-fulldeps/internal-lints/ty_tykind_usage.stderr index 171f49087..1f49d6b64 100644 --- a/src/test/ui-fulldeps/internal-lints/ty_tykind_usage.stderr +++ b/tests/ui-fulldeps/internal-lints/ty_tykind_usage.stderr @@ -133,53 +133,47 @@ LL | TyKind::Tuple(..) => (), error: usage of `ty::TyKind::<kind>` --> $DIR/ty_tykind_usage.rs:36:9 | -LL | TyKind::Projection(..) => (), +LL | TyKind::Alias(..) => (), | ^^^^^^ help: try using `ty::<kind>` directly: `ty` error: usage of `ty::TyKind::<kind>` --> $DIR/ty_tykind_usage.rs:37:9 | -LL | TyKind::Opaque(..) => (), - | ^^^^^^ help: try using `ty::<kind>` directly: `ty` - -error: usage of `ty::TyKind::<kind>` - --> $DIR/ty_tykind_usage.rs:38:9 - | LL | TyKind::Param(..) => (), | ^^^^^^ help: try using `ty::<kind>` directly: `ty` error: usage of `ty::TyKind::<kind>` - --> $DIR/ty_tykind_usage.rs:39:9 + --> $DIR/ty_tykind_usage.rs:38:9 | LL | TyKind::Bound(..) => (), | ^^^^^^ help: try using `ty::<kind>` directly: `ty` error: usage of `ty::TyKind::<kind>` - --> $DIR/ty_tykind_usage.rs:40:9 + --> $DIR/ty_tykind_usage.rs:39:9 | LL | TyKind::Placeholder(..) => (), | ^^^^^^ help: try using `ty::<kind>` directly: `ty` error: usage of `ty::TyKind::<kind>` - --> $DIR/ty_tykind_usage.rs:41:9 + --> $DIR/ty_tykind_usage.rs:40:9 | LL | TyKind::Infer(..) => (), | ^^^^^^ help: try using `ty::<kind>` directly: `ty` error: usage of `ty::TyKind::<kind>` - --> $DIR/ty_tykind_usage.rs:42:9 + --> $DIR/ty_tykind_usage.rs:41:9 | LL | TyKind::Error(_) => (), | ^^^^^^ help: try using `ty::<kind>` directly: `ty` error: usage of `ty::TyKind::<kind>` - --> $DIR/ty_tykind_usage.rs:47:12 + --> $DIR/ty_tykind_usage.rs:46:12 | LL | if let TyKind::Int(int_ty) = kind {} | ^^^^^^ help: try using `ty::<kind>` directly: `ty` error: usage of `ty::TyKind` - --> $DIR/ty_tykind_usage.rs:49:24 + --> $DIR/ty_tykind_usage.rs:48:24 | LL | fn ty_kind(ty_bad: TyKind<'_>, ty_good: Ty<'_>) {} | ^^^^^^^^^^ @@ -187,7 +181,7 @@ LL | fn ty_kind(ty_bad: TyKind<'_>, ty_good: Ty<'_>) {} = help: try using `Ty` instead error: usage of `ty::TyKind` - --> $DIR/ty_tykind_usage.rs:51:37 + --> $DIR/ty_tykind_usage.rs:50:37 | LL | fn ir_ty_kind<I: Interner>(bad: IrTyKind<I>) -> IrTyKind<I> { | ^^^^^^^^^^^ @@ -195,7 +189,7 @@ LL | fn ir_ty_kind<I: Interner>(bad: IrTyKind<I>) -> IrTyKind<I> { = help: try using `Ty` instead error: usage of `ty::TyKind` - --> $DIR/ty_tykind_usage.rs:51:53 + --> $DIR/ty_tykind_usage.rs:50:53 | LL | fn ir_ty_kind<I: Interner>(bad: IrTyKind<I>) -> IrTyKind<I> { | ^^^^^^^^^^^ @@ -203,12 +197,12 @@ LL | fn ir_ty_kind<I: Interner>(bad: IrTyKind<I>) -> IrTyKind<I> { = help: try using `Ty` instead error: usage of `ty::TyKind::<kind>` - --> $DIR/ty_tykind_usage.rs:54:9 + --> $DIR/ty_tykind_usage.rs:53:9 | LL | IrTyKind::Bool | --------^^^^^^ | | | help: try using `ty::<kind>` directly: `ty` -error: aborting due to 33 previous errors +error: aborting due to 32 previous errors |