File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 7e78e708fb3f5115b47cc1c0b32c77a381519ecc
2
+ refs/heads/master: 364035497c2bf882cd46a33e0cd6bf4e64370ea4
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
5
5
refs/heads/try: 7b4ef47b7805a402d756fb8157101f64880a522f
Original file line number Diff line number Diff line change @@ -196,9 +196,9 @@ const Y: i32 = A;
196
196
"## ,
197
197
198
198
E0015 : r##"
199
- The only function calls allowed in static or constant expressions are
200
- constructors for enum variants and structs, or `const fn`s . Rust currently does
201
- not support more general compile-time function execution.
199
+ The only functions that can be called in static or constant expressions are
200
+ `const` functions . Rust currently does not support more general compile-time
201
+ function execution.
202
202
203
203
See [RFC 911] for more details on the design of `const fn`s.
204
204
You can’t perform that action at this time.
0 commit comments