rust/src/test/ui/associated-path-shl.stderr

44 lines
1.5 KiB
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error[E0412]: cannot find type `A` in this scope
2018-12-25 09:56:47 -06:00
--> $DIR/associated-path-shl.rs:4:14
2018-08-08 07:28:26 -05:00
|
LL | let _: <<A>::B>::C; //~ ERROR cannot find type `A` in this scope
| ^ not found in this scope
error[E0412]: cannot find type `A` in this scope
2018-12-25 09:56:47 -06:00
--> $DIR/associated-path-shl.rs:5:15
2018-08-08 07:28:26 -05:00
|
LL | let _ = <<A>::B>::C; //~ ERROR cannot find type `A` in this scope
| ^ not found in this scope
error[E0412]: cannot find type `A` in this scope
2018-12-25 09:56:47 -06:00
--> $DIR/associated-path-shl.rs:6:11
2018-08-08 07:28:26 -05:00
|
LL | let <<A>::B>::C; //~ ERROR cannot find type `A` in this scope
| ^ not found in this scope
error[E0412]: cannot find type `A` in this scope
2018-12-25 09:56:47 -06:00
--> $DIR/associated-path-shl.rs:7:17
2018-08-08 07:28:26 -05:00
|
LL | let 0 ..= <<A>::B>::C; //~ ERROR cannot find type `A` in this scope
| ^ not found in this scope
error[E0412]: cannot find type `A` in this scope
2018-12-25 09:56:47 -06:00
--> $DIR/associated-path-shl.rs:9:7
2018-08-08 07:28:26 -05:00
|
LL | <<A>::B>::C; //~ ERROR cannot find type `A` in this scope
| ^ not found in this scope
error[E0029]: only char and numeric types are allowed in range patterns
2018-12-25 09:56:47 -06:00
--> $DIR/associated-path-shl.rs:7:15
2018-08-08 07:28:26 -05:00
|
LL | let 0 ..= <<A>::B>::C; //~ ERROR cannot find type `A` in this scope
| ^^^^^^^^^^^ ranges require char or numeric types
|
= note: start type: {integer}
= note: end type: [type error]
error: aborting due to 6 previous errors
Some errors occurred: E0029, E0412.
For more information about an error, try `rustc --explain E0029`.