about summary refs log tree commit diff
path: root/tests/ui/asm/const-resolve-error.stderr
blob: f02a7f0a6b1277b4147a2aad29f49871f800fe94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0425]: cannot find value `N` in this scope
  --> $DIR/const-resolve-error.rs:7:29
   |
LL |     asm!("/* {0} */", const N);
   |                             ^ not found in this scope
   |
help: you might be missing a const parameter
   |
LL | async unsafe fn foo<'a, const N: /* Type */>() {
   |                       +++++++++++++++++++++

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0425`.