Stabilize const_refs_to_static
update tests fix bitwidth-sensitive stderr output use build-fail for asm tests
This commit is contained in:
parent
76ed7a1fa4
commit
1576a6d618
45 changed files with 157 additions and 442 deletions
|
@ -5,7 +5,7 @@ variable cannot refer to a static variable.
|
|||
|
||||
Erroneous code example:
|
||||
|
||||
```compile_fail,E0658
|
||||
```
|
||||
static X: i32 = 42;
|
||||
const Y: i32 = X;
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue