rust/src/test/ui/ufcs/ufcs-partially-resolved.stderr

209 lines
8.3 KiB
Plaintext
Raw Normal View History

error[E0433]: failed to resolve: not a module `Y`
2018-12-25 09:56:47 -06:00
--> $DIR/ufcs-partially-resolved.rs:48:22
2018-08-08 07:28:26 -05:00
|
LL | let _: <u8 as E::Y>::NN; //~ ERROR failed to resolve: not a module `Y`
| ^ not a module `Y`
2018-08-08 07:28:26 -05:00
error[E0433]: failed to resolve: not a module `Y`
2018-12-25 09:56:47 -06:00
--> $DIR/ufcs-partially-resolved.rs:50:15
2018-08-08 07:28:26 -05:00
|
LL | <u8 as E::Y>::NN; //~ ERROR failed to resolve: not a module `Y`
| ^ not a module `Y`
2018-08-08 07:28:26 -05:00
error[E0576]: cannot find associated type `N` in trait `Tr`
2018-12-25 09:56:47 -06:00
--> $DIR/ufcs-partially-resolved.rs:19:24
2018-08-08 07:28:26 -05:00
|
LL | let _: <u8 as Tr>::N; //~ ERROR cannot find associated type `N` in trait `Tr`
| ^ did you mean `Y`?
error[E0576]: cannot find associated type `N` in enum `E`
2018-12-25 09:56:47 -06:00
--> $DIR/ufcs-partially-resolved.rs:20:23
2018-08-08 07:28:26 -05:00
|
LL | let _: <u8 as E>::N; //~ ERROR cannot find associated type `N` in enum `E`
| ^ not found in `E`
error[E0576]: cannot find associated type `N` in `A`
2018-12-25 09:56:47 -06:00
--> $DIR/ufcs-partially-resolved.rs:21:23
2018-08-08 07:28:26 -05:00
|
LL | let _: <u8 as A>::N; //~ ERROR cannot find associated type `N` in `A`
| ^ not found in `A`
error[E0576]: cannot find method or associated constant `N` in trait `Tr`
2018-12-25 09:56:47 -06:00
--> $DIR/ufcs-partially-resolved.rs:22:17
2018-08-08 07:28:26 -05:00
|
LL | <u8 as Tr>::N; //~ ERROR cannot find method or associated constant `N` in trait `Tr`
| ^ did you mean `Y`?
error[E0576]: cannot find method or associated constant `N` in enum `E`
2018-12-25 09:56:47 -06:00
--> $DIR/ufcs-partially-resolved.rs:23:16
2018-08-08 07:28:26 -05:00
|
LL | <u8 as E>::N; //~ ERROR cannot find method or associated constant `N` in enum `E`
| ^ not found in `E`
error[E0576]: cannot find method or associated constant `N` in `A`
2018-12-25 09:56:47 -06:00
--> $DIR/ufcs-partially-resolved.rs:24:16
2018-08-08 07:28:26 -05:00
|
LL | <u8 as A>::N; //~ ERROR cannot find method or associated constant `N` in `A`
| ^ not found in `A`
error[E0575]: expected associated type, found variant `E::Y`
2018-12-25 09:56:47 -06:00
--> $DIR/ufcs-partially-resolved.rs:26:12
2018-08-08 07:28:26 -05:00
|
LL | let _: <u8 as E>::Y; //~ ERROR expected associated type, found variant `E::Y`
| ^^^^^^^^^^^^ not a associated type
error[E0575]: expected method or associated constant, found unit variant `E::Y`
2018-12-25 09:56:47 -06:00
--> $DIR/ufcs-partially-resolved.rs:28:5
2018-08-08 07:28:26 -05:00
|
LL | <u8 as E>::Y; //~ ERROR expected method or associated constant, found unit variant `E::Y`
| ^^^^^^^^^^^^ not a method or associated constant
error[E0576]: cannot find associated type `N` in trait `Tr`
2018-12-25 09:56:47 -06:00
--> $DIR/ufcs-partially-resolved.rs:30:24
2018-08-08 07:28:26 -05:00
|
LL | let _: <u8 as Tr>::N::NN; //~ ERROR cannot find associated type `N` in trait `Tr`
| ^ did you mean `Y`?
error[E0576]: cannot find associated type `N` in enum `E`
2018-12-25 09:56:47 -06:00
--> $DIR/ufcs-partially-resolved.rs:31:23
2018-08-08 07:28:26 -05:00
|
LL | let _: <u8 as E>::N::NN; //~ ERROR cannot find associated type `N` in enum `E`
| ^ not found in `E`
error[E0576]: cannot find associated type `N` in `A`
2018-12-25 09:56:47 -06:00
--> $DIR/ufcs-partially-resolved.rs:32:23
2018-08-08 07:28:26 -05:00
|
LL | let _: <u8 as A>::N::NN; //~ ERROR cannot find associated type `N` in `A`
| ^ not found in `A`
error[E0576]: cannot find associated type `N` in trait `Tr`
2018-12-25 09:56:47 -06:00
--> $DIR/ufcs-partially-resolved.rs:33:17
2018-08-08 07:28:26 -05:00
|
LL | <u8 as Tr>::N::NN; //~ ERROR cannot find associated type `N` in trait `Tr`
| ^ did you mean `Y`?
error[E0576]: cannot find associated type `N` in enum `E`
2018-12-25 09:56:47 -06:00
--> $DIR/ufcs-partially-resolved.rs:34:16
2018-08-08 07:28:26 -05:00
|
LL | <u8 as E>::N::NN; //~ ERROR cannot find associated type `N` in enum `E`
| ^ not found in `E`
error[E0576]: cannot find associated type `N` in `A`
2018-12-25 09:56:47 -06:00
--> $DIR/ufcs-partially-resolved.rs:35:16
2018-08-08 07:28:26 -05:00
|
LL | <u8 as A>::N::NN; //~ ERROR cannot find associated type `N` in `A`
| ^ not found in `A`
error[E0575]: expected associated type, found variant `E::Y`
2018-12-25 09:56:47 -06:00
--> $DIR/ufcs-partially-resolved.rs:37:12
2018-08-08 07:28:26 -05:00
|
LL | let _: <u8 as E>::Y::NN; //~ ERROR expected associated type, found variant `E::Y`
| ^^^^^^^^^^^^^^^^ not a associated type
error[E0575]: expected associated type, found variant `E::Y`
2018-12-25 09:56:47 -06:00
--> $DIR/ufcs-partially-resolved.rs:39:5
2018-08-08 07:28:26 -05:00
|
LL | <u8 as E>::Y::NN; //~ ERROR expected associated type, found variant `E::Y`
| ^^^^^^^^^^^^^^^^ not a associated type
error[E0576]: cannot find associated type `NN` in `Tr::N`
2018-12-25 09:56:47 -06:00
--> $DIR/ufcs-partially-resolved.rs:41:27
2018-08-08 07:28:26 -05:00
|
LL | let _: <u8 as Tr::N>::NN; //~ ERROR cannot find associated type `NN` in `Tr::N`
| ^^ not found in `Tr::N`
error[E0576]: cannot find associated type `NN` in `E::N`
2018-12-25 09:56:47 -06:00
--> $DIR/ufcs-partially-resolved.rs:42:26
2018-08-08 07:28:26 -05:00
|
LL | let _: <u8 as E::N>::NN; //~ ERROR cannot find associated type `NN` in `E::N`
| ^^ not found in `E::N`
error[E0576]: cannot find associated type `NN` in `A::N`
2018-12-25 09:56:47 -06:00
--> $DIR/ufcs-partially-resolved.rs:43:26
2018-08-08 07:28:26 -05:00
|
LL | let _: <u8 as A::N>::NN; //~ ERROR cannot find associated type `NN` in `A::N`
| ^^ not found in `A::N`
error[E0576]: cannot find method or associated constant `NN` in `Tr::N`
2018-12-25 09:56:47 -06:00
--> $DIR/ufcs-partially-resolved.rs:44:20
2018-08-08 07:28:26 -05:00
|
LL | <u8 as Tr::N>::NN; //~ ERROR cannot find method or associated constant `NN` in `Tr::N`
| ^^ not found in `Tr::N`
error[E0576]: cannot find method or associated constant `NN` in `E::N`
2018-12-25 09:56:47 -06:00
--> $DIR/ufcs-partially-resolved.rs:45:19
2018-08-08 07:28:26 -05:00
|
LL | <u8 as E::N>::NN; //~ ERROR cannot find method or associated constant `NN` in `E::N`
| ^^ not found in `E::N`
error[E0576]: cannot find method or associated constant `NN` in `A::N`
2018-12-25 09:56:47 -06:00
--> $DIR/ufcs-partially-resolved.rs:46:19
2018-08-08 07:28:26 -05:00
|
LL | <u8 as A::N>::NN; //~ ERROR cannot find method or associated constant `NN` in `A::N`
| ^^ not found in `A::N`
error[E0576]: cannot find associated type `NN` in `Tr::Y`
2018-12-25 09:56:47 -06:00
--> $DIR/ufcs-partially-resolved.rs:47:27
2018-08-08 07:28:26 -05:00
|
LL | let _: <u8 as Tr::Y>::NN; //~ ERROR cannot find associated type `NN` in `Tr::Y`
| ^^ not found in `Tr::Y`
error[E0576]: cannot find method or associated constant `NN` in `Tr::Y`
2018-12-25 09:56:47 -06:00
--> $DIR/ufcs-partially-resolved.rs:49:20
2018-08-08 07:28:26 -05:00
|
LL | <u8 as Tr::Y>::NN; //~ ERROR cannot find method or associated constant `NN` in `Tr::Y`
| ^^ not found in `Tr::Y`
error[E0575]: expected associated type, found method `Dr::Z`
2018-12-25 09:56:47 -06:00
--> $DIR/ufcs-partially-resolved.rs:52:12
2018-08-08 07:28:26 -05:00
|
LL | let _: <u8 as Dr>::Z; //~ ERROR expected associated type, found method `Dr::Z`
| ^^^^^^^^^^^^-
| |
| did you mean `X`?
error[E0575]: expected method or associated constant, found associated type `Dr::X`
2018-12-25 09:56:47 -06:00
--> $DIR/ufcs-partially-resolved.rs:53:5
2018-08-08 07:28:26 -05:00
|
LL | <u8 as Dr>::X; //~ ERROR expected method or associated constant, found associated type `Dr::X`
| ^^^^^^^^^^^^-
| |
| did you mean `Z`?
|
= note: can't use a type alias as a constructor
error[E0575]: expected associated type, found method `Dr::Z`
2018-12-25 09:56:47 -06:00
--> $DIR/ufcs-partially-resolved.rs:54:12
2018-08-08 07:28:26 -05:00
|
LL | let _: <u8 as Dr>::Z::N; //~ ERROR expected associated type, found method `Dr::Z`
| ^^^^^^^^^^^^-^^^
| |
| did you mean `X`?
error[E0223]: ambiguous associated type
2018-12-25 09:56:47 -06:00
--> $DIR/ufcs-partially-resolved.rs:36:12
2018-08-08 07:28:26 -05:00
|
LL | let _: <u8 as Tr>::Y::NN; //~ ERROR ambiguous associated type
| ^^^^^^^^^^^^^^^^^ help: use fully-qualified syntax: `<<u8 as Tr>::Y as Trait>::NN`
2018-08-08 07:28:26 -05:00
error[E0599]: no associated item named `NN` found for type `<u8 as Tr>::Y` in the current scope
2018-12-07 12:15:36 -06:00
--> $DIR/ufcs-partially-resolved.rs:38:20
2018-08-08 07:28:26 -05:00
|
LL | <u8 as Tr>::Y::NN; //~ ERROR no associated item named `NN` found for type `<u8 as Tr>::Y`
2018-12-07 12:15:36 -06:00
| ---------------^^
| |
| associated item not found in `<u8 as Tr>::Y`
2018-08-08 07:28:26 -05:00
error[E0599]: no associated item named `N` found for type `<u8 as Dr>::X` in the current scope
2018-12-07 12:15:36 -06:00
--> $DIR/ufcs-partially-resolved.rs:55:20
2018-08-08 07:28:26 -05:00
|
LL | <u8 as Dr>::X::N; //~ ERROR no associated item named `N` found for type `<u8 as Dr>::X`
2018-12-07 12:15:36 -06:00
| ---------------^
| |
| associated item not found in `<u8 as Dr>::X`
2018-08-08 07:28:26 -05:00
error: aborting due to 32 previous errors
Some errors occurred: E0223, E0433, E0575, E0576, E0599.
For more information about an error, try `rustc --explain E0223`.