Commit d8bde48
authored
Rollup merge of rust-lang#114972 - nbdd0121:const_check, r=compiler-errors
Add a test to check that inline const is in required_consts
This was a commit in rust-lang#104087. This commit, as a test, can go in while the overall inline const stabilisation is blocked.
Suggested in rust-lang#76001 (comment)File tree
2 files changed
+24
-0
lines changed- tests/ui/inline-const
2 files changed
+24
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
0 commit comments