summaryrefslogtreecommitdiff
path: root/tests/ui/type
diff options
context:
space:
mode:
authorNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2023-05-16 11:39:38 +0200
committerGitHub <noreply@github.com>2023-05-16 11:39:38 +0200
commitf65281534f99754d94388e705cdc40c047093dee (patch)
tree3735f280a9dd25d3b556019c33361fa9dd34eec1 /tests/ui/type
parent3ea9ad532474343426e564b997891e459cda89a6 (diff)
parent7c1bc0353b8c13edc6e3cb8e0a37e876f06da7b7 (diff)
downloadrust-f65281534f99754d94388e705cdc40c047093dee.tar.gz
Rollup merge of #111428 - bvanjoi:fix-109250, r=Nilstrieb
refactor(resolve): clean up the early error return caused by non-call closes https://github.com/rust-lang/rust/issues/109250 It seems no bad happened, r? ``@Nilstrieb``
Diffstat (limited to 'tests/ui/type')
-rw-r--r--tests/ui/type/type-path-err-node-types.stderr12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/ui/type/type-path-err-node-types.stderr b/tests/ui/type/type-path-err-node-types.stderr
index 1aed1dbe4ba..8b12aa1a393 100644
--- a/tests/ui/type/type-path-err-node-types.stderr
+++ b/tests/ui/type/type-path-err-node-types.stderr
@@ -1,9 +1,3 @@
-error[E0433]: failed to resolve: use of undeclared type `NonExistent`
- --> $DIR/type-path-err-node-types.rs:15:5
- |
-LL | NonExistent::Assoc::<u8>;
- | ^^^^^^^^^^^ use of undeclared type `NonExistent`
-
error[E0412]: cannot find type `Nonexistent` in this scope
--> $DIR/type-path-err-node-types.rs:7:12
|
@@ -22,6 +16,12 @@ error[E0425]: cannot find value `nonexistent` in this scope
LL | nonexistent.nonexistent::<u8>();
| ^^^^^^^^^^^ not found in this scope
+error[E0433]: failed to resolve: use of undeclared type `NonExistent`
+ --> $DIR/type-path-err-node-types.rs:15:5
+ |
+LL | NonExistent::Assoc::<u8>;
+ | ^^^^^^^^^^^ use of undeclared type `NonExistent`
+
error[E0282]: type annotations needed
--> $DIR/type-path-err-node-types.rs:23:14
|