rust/src/test/ui/prim-with-args.stderr

136 lines
3.9 KiB
Plaintext
Raw Normal View History

2019-03-20 19:32:52 +01:00
error[E0109]: type arguments are not allowed for this type
2018-12-25 16:56:47 +01:00
--> $DIR/prim-with-args.rs:3:14
2018-08-08 14:28:26 +02:00
|
2019-03-09 13:03:44 +01:00
LL | let x: isize<isize>;
| ^^^^^ type argument not allowed
2018-08-08 14:28:26 +02:00
2019-03-20 19:32:52 +01:00
error[E0109]: type arguments are not allowed for this type
2018-12-25 16:56:47 +01:00
--> $DIR/prim-with-args.rs:4:11
2018-08-08 14:28:26 +02:00
|
2019-03-09 13:03:44 +01:00
LL | let x: i8<isize>;
| ^^^^^ type argument not allowed
2018-08-08 14:28:26 +02:00
2019-03-20 19:32:52 +01:00
error[E0109]: type arguments are not allowed for this type
2018-12-25 16:56:47 +01:00
--> $DIR/prim-with-args.rs:5:12
2018-08-08 14:28:26 +02:00
|
2019-03-09 13:03:44 +01:00
LL | let x: i16<isize>;
| ^^^^^ type argument not allowed
2018-08-08 14:28:26 +02:00
2019-03-20 19:32:52 +01:00
error[E0109]: type arguments are not allowed for this type
2018-12-25 16:56:47 +01:00
--> $DIR/prim-with-args.rs:6:12
2018-08-08 14:28:26 +02:00
|
2019-03-09 13:03:44 +01:00
LL | let x: i32<isize>;
| ^^^^^ type argument not allowed
2018-08-08 14:28:26 +02:00
2019-03-20 19:32:52 +01:00
error[E0109]: type arguments are not allowed for this type
2018-12-25 16:56:47 +01:00
--> $DIR/prim-with-args.rs:7:12
2018-08-08 14:28:26 +02:00
|
2019-03-09 13:03:44 +01:00
LL | let x: i64<isize>;
| ^^^^^ type argument not allowed
2018-08-08 14:28:26 +02:00
2019-03-20 19:32:52 +01:00
error[E0109]: type arguments are not allowed for this type
2018-12-25 16:56:47 +01:00
--> $DIR/prim-with-args.rs:8:14
2018-08-08 14:28:26 +02:00
|
2019-03-09 13:03:44 +01:00
LL | let x: usize<isize>;
| ^^^^^ type argument not allowed
2018-08-08 14:28:26 +02:00
2019-03-20 19:32:52 +01:00
error[E0109]: type arguments are not allowed for this type
2018-12-25 16:56:47 +01:00
--> $DIR/prim-with-args.rs:9:11
2018-08-08 14:28:26 +02:00
|
2019-03-09 13:03:44 +01:00
LL | let x: u8<isize>;
| ^^^^^ type argument not allowed
2018-08-08 14:28:26 +02:00
2019-03-20 19:32:52 +01:00
error[E0109]: type arguments are not allowed for this type
2018-12-25 16:56:47 +01:00
--> $DIR/prim-with-args.rs:10:12
2018-08-08 14:28:26 +02:00
|
2019-03-09 13:03:44 +01:00
LL | let x: u16<isize>;
| ^^^^^ type argument not allowed
2018-08-08 14:28:26 +02:00
2019-03-20 19:32:52 +01:00
error[E0109]: type arguments are not allowed for this type
2018-12-25 16:56:47 +01:00
--> $DIR/prim-with-args.rs:11:12
2018-08-08 14:28:26 +02:00
|
2019-03-09 13:03:44 +01:00
LL | let x: u32<isize>;
| ^^^^^ type argument not allowed
2018-08-08 14:28:26 +02:00
2019-03-20 19:32:52 +01:00
error[E0109]: type arguments are not allowed for this type
2018-12-25 16:56:47 +01:00
--> $DIR/prim-with-args.rs:12:12
2018-08-08 14:28:26 +02:00
|
2019-03-09 13:03:44 +01:00
LL | let x: u64<isize>;
| ^^^^^ type argument not allowed
2018-08-08 14:28:26 +02:00
2019-03-20 19:32:52 +01:00
error[E0109]: type arguments are not allowed for this type
2018-12-25 16:56:47 +01:00
--> $DIR/prim-with-args.rs:13:13
2018-08-08 14:28:26 +02:00
|
2019-03-09 13:03:44 +01:00
LL | let x: char<isize>;
| ^^^^^ type argument not allowed
2018-08-08 14:28:26 +02:00
2019-03-20 19:32:52 +01:00
error[E0109]: lifetime arguments are not allowed for this type
2018-12-25 16:56:47 +01:00
--> $DIR/prim-with-args.rs:15:14
2018-08-08 14:28:26 +02:00
|
2019-03-09 13:03:44 +01:00
LL | let x: isize<'static>;
| ^^^^^^^ lifetime argument not allowed
2018-08-08 14:28:26 +02:00
2019-03-20 19:32:52 +01:00
error[E0109]: lifetime arguments are not allowed for this type
2018-12-25 16:56:47 +01:00
--> $DIR/prim-with-args.rs:16:11
2018-08-08 14:28:26 +02:00
|
2019-03-09 13:03:44 +01:00
LL | let x: i8<'static>;
| ^^^^^^^ lifetime argument not allowed
2018-08-08 14:28:26 +02:00
2019-03-20 19:32:52 +01:00
error[E0109]: lifetime arguments are not allowed for this type
2018-12-25 16:56:47 +01:00
--> $DIR/prim-with-args.rs:17:12
2018-08-08 14:28:26 +02:00
|
2019-03-09 13:03:44 +01:00
LL | let x: i16<'static>;
| ^^^^^^^ lifetime argument not allowed
2018-08-08 14:28:26 +02:00
2019-03-20 19:32:52 +01:00
error[E0109]: lifetime arguments are not allowed for this type
2018-12-25 16:56:47 +01:00
--> $DIR/prim-with-args.rs:18:12
2018-08-08 14:28:26 +02:00
|
2019-03-09 13:03:44 +01:00
LL | let x: i32<'static>;
| ^^^^^^^ lifetime argument not allowed
2018-08-08 14:28:26 +02:00
2019-03-20 19:32:52 +01:00
error[E0109]: lifetime arguments are not allowed for this type
2018-12-25 16:56:47 +01:00
--> $DIR/prim-with-args.rs:19:12
2018-08-08 14:28:26 +02:00
|
2019-03-09 13:03:44 +01:00
LL | let x: i64<'static>;
| ^^^^^^^ lifetime argument not allowed
2018-08-08 14:28:26 +02:00
2019-03-20 19:32:52 +01:00
error[E0109]: lifetime arguments are not allowed for this type
2018-12-25 16:56:47 +01:00
--> $DIR/prim-with-args.rs:20:14
2018-08-08 14:28:26 +02:00
|
2019-03-09 13:03:44 +01:00
LL | let x: usize<'static>;
| ^^^^^^^ lifetime argument not allowed
2018-08-08 14:28:26 +02:00
2019-03-20 19:32:52 +01:00
error[E0109]: lifetime arguments are not allowed for this type
2018-12-25 16:56:47 +01:00
--> $DIR/prim-with-args.rs:21:11
2018-08-08 14:28:26 +02:00
|
2019-03-09 13:03:44 +01:00
LL | let x: u8<'static>;
| ^^^^^^^ lifetime argument not allowed
2018-08-08 14:28:26 +02:00
2019-03-20 19:32:52 +01:00
error[E0109]: lifetime arguments are not allowed for this type
2018-12-25 16:56:47 +01:00
--> $DIR/prim-with-args.rs:22:12
2018-08-08 14:28:26 +02:00
|
2019-03-09 13:03:44 +01:00
LL | let x: u16<'static>;
| ^^^^^^^ lifetime argument not allowed
2018-08-08 14:28:26 +02:00
2019-03-20 19:32:52 +01:00
error[E0109]: lifetime arguments are not allowed for this type
2018-12-25 16:56:47 +01:00
--> $DIR/prim-with-args.rs:23:12
2018-08-08 14:28:26 +02:00
|
2019-03-09 13:03:44 +01:00
LL | let x: u32<'static>;
| ^^^^^^^ lifetime argument not allowed
2018-08-08 14:28:26 +02:00
2019-03-20 19:32:52 +01:00
error[E0109]: lifetime arguments are not allowed for this type
2018-12-25 16:56:47 +01:00
--> $DIR/prim-with-args.rs:24:12
2018-08-08 14:28:26 +02:00
|
2019-03-09 13:03:44 +01:00
LL | let x: u64<'static>;
| ^^^^^^^ lifetime argument not allowed
2018-08-08 14:28:26 +02:00
2019-03-20 19:32:52 +01:00
error[E0109]: lifetime arguments are not allowed for this type
2018-12-25 16:56:47 +01:00
--> $DIR/prim-with-args.rs:25:13
2018-08-08 14:28:26 +02:00
|
2019-03-09 13:03:44 +01:00
LL | let x: char<'static>;
| ^^^^^^^ lifetime argument not allowed
2018-08-08 14:28:26 +02:00
error: aborting due to 22 previous errors
2019-03-20 19:32:52 +01:00
For more information about this error, try `rustc --explain E0109`.