@@ -382,7 +382,7 @@ error[E0435]: attempt to use a non-constant value in a constant
382
382
--> $DIR/parse-error.rs:39:37
383
383
|
384
384
LL | let mut foo = 0;
385
- | ---------- help: consider using `const` instead of `let`: `const foo`
385
+ | - ---------- help: consider using `const` instead of `let`: `const foo`
386
386
...
387
387
LL | asm!("{}", options(), const foo);
388
388
| ^^^ non-constant value
@@ -391,7 +391,7 @@ error[E0435]: attempt to use a non-constant value in a constant
391
391
--> $DIR/parse-error.rs:48:44
392
392
|
393
393
LL | let mut foo = 0;
394
- | ---------- help: consider using `const` instead of `let`: `const foo`
394
+ | - ---------- help: consider using `const` instead of `let`: `const foo`
395
395
...
396
396
LL | asm!("{}", clobber_abi("C"), const foo);
397
397
| ^^^ non-constant value
@@ -400,7 +400,7 @@ error[E0435]: attempt to use a non-constant value in a constant
400
400
--> $DIR/parse-error.rs:55:31
401
401
|
402
402
LL | let mut foo = 0;
403
- | ---------- help: consider using `const` instead of `let`: `const foo`
403
+ | - ---------- help: consider using `const` instead of `let`: `const foo`
404
404
...
405
405
LL | asm!("{a}", a = const foo, a = const bar);
406
406
| ^^^ non-constant value
@@ -409,7 +409,7 @@ error[E0435]: attempt to use a non-constant value in a constant
409
409
--> $DIR/parse-error.rs:55:46
410
410
|
411
411
LL | let mut bar = 0;
412
- | ---------- help: consider using `const` instead of `let`: `const bar`
412
+ | - ---------- help: consider using `const` instead of `let`: `const bar`
413
413
...
414
414
LL | asm!("{a}", a = const foo, a = const bar);
415
415
| ^^^ non-constant value
@@ -418,7 +418,7 @@ error[E0435]: attempt to use a non-constant value in a constant
418
418
--> $DIR/parse-error.rs:62:45
419
419
|
420
420
LL | let mut bar = 0;
421
- | ---------- help: consider using `const` instead of `let`: `const bar`
421
+ | - ---------- help: consider using `const` instead of `let`: `const bar`
422
422
...
423
423
LL | asm!("{a}", in("x0") foo, a = const bar);
424
424
| ^^^ non-constant value
@@ -427,7 +427,7 @@ error[E0435]: attempt to use a non-constant value in a constant
427
427
--> $DIR/parse-error.rs:65:45
428
428
|
429
429
LL | let mut bar = 0;
430
- | ---------- help: consider using `const` instead of `let`: `const bar`
430
+ | - ---------- help: consider using `const` instead of `let`: `const bar`
431
431
...
432
432
LL | asm!("{a}", in("x0") foo, a = const bar);
433
433
| ^^^ non-constant value
@@ -436,7 +436,7 @@ error[E0435]: attempt to use a non-constant value in a constant
436
436
--> $DIR/parse-error.rs:68:41
437
437
|
438
438
LL | let mut bar = 0;
439
- | ---------- help: consider using `const` instead of `let`: `const bar`
439
+ | - ---------- help: consider using `const` instead of `let`: `const bar`
440
440
...
441
441
LL | asm!("{1}", in("x0") foo, const bar);
442
442
| ^^^ non-constant value
0 commit comments