Skip to content

Rollup of 12 pull requests #66436

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 31 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
7b9d50d
rename Error::iter_chain() and remove Error::iter_sources()
haraldh Oct 15, 2019
1aceaaa
Avoid hashing the key twice in `get_query()`.
nnethercote Oct 31, 2019
b941034
qualify-const remove cannot mutate statics in initializer of another …
spastorino Nov 11, 2019
695e91a
check-consts remove cannot mutate statics in initializer of another s…
spastorino Nov 12, 2019
139477d
Update mdbook.
ehuss Nov 12, 2019
32d1f47
Fix mdbook-linkcheck license checks.
ehuss Nov 12, 2019
bc1bd95
Do not ICE on recovery from unmet associated type bound obligation
estebank Nov 13, 2019
4137263
Fix ICE when trying to suggest `Type<>` instead of `Type()`
estebank Nov 13, 2019
7d61484
Do not ICE in `if` without `else` in `async fn`
estebank Nov 13, 2019
37de933
Fix spurious CI filures due to OOM
wesleywiser Nov 14, 2019
3fe7cfc
Remove some stack frames from `.async` calls
sfackler Nov 14, 2019
92154d0
[ConstProp] Avoid OOM crashes by not evaluating large Places
wesleywiser Nov 14, 2019
6c9ba97
miri: helper methods for max values of machine's usize/isize
RalfJung Nov 14, 2019
0c52c3e
Respond to review feedback
wesleywiser Nov 14, 2019
336e332
Link to tracking issue in HIR const-check error
ecstatic-morse Nov 14, 2019
4349228
Don't warn labels beginning with `_`
JohnTitor Nov 14, 2019
c0a0a7d
review comments
estebank Nov 14, 2019
b884205
review comments
estebank Nov 14, 2019
3bd5226
Use different size on 32bit
wesleywiser Nov 15, 2019
006c62d
Rollup merge of #65557 - haraldh:error_iter_rename, r=sfackler
JohnTitor Nov 15, 2019
c858c63
Rollup merge of #66013 - nnethercote:avoid-hashing-twice-in-get_query…
JohnTitor Nov 15, 2019
b3fec2b
Rollup merge of #66306 - spastorino:remove-error-handled-by-miri, r=o…
JohnTitor Nov 15, 2019
c5e6692
Rollup merge of #66338 - ehuss:update-mdbook, r=alexcrichton
JohnTitor Nov 15, 2019
180de59
Rollup merge of #66388 - estebank:melt-ice, r=Centril
JohnTitor Nov 15, 2019
1452a83
Rollup merge of #66390 - estebank:parenice, r=Centril
JohnTitor Nov 15, 2019
b13272f
Rollup merge of #66391 - estebank:if-else-async-ice, r=Centril
JohnTitor Nov 15, 2019
4081586
Rollup merge of #66394 - wesleywiser:fix_oom, r=oli-obk
JohnTitor Nov 15, 2019
134d248
Rollup merge of #66398 - sfackler:no-async-nesting, r=Centril
JohnTitor Nov 15, 2019
65873cc
Rollup merge of #66410 - RalfJung:miri-machine-max, r=oli-obk
JohnTitor Nov 15, 2019
fc8a76e
Rollup merge of #66418 - ecstatic-morse:hir-const-check-err-msg, r=es…
JohnTitor Nov 15, 2019
175f296
Rollup merge of #66419 - JohnTitor:ignore-underscore, r=varkor
JohnTitor Nov 15, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Link to tracking issue in HIR const-check error
  • Loading branch information
ecstatic-morse committed Nov 14, 2019
commit 336e332fd6f6ce1433ab29b58f6845f7662e60cf
7 changes: 7 additions & 0 deletions src/librustc_error_codes/error_codes/E0744.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,10 @@ const _: i32 = {
x
};
```

This will be allowed at some point in the future, but the implementation is not
yet complete. See the tracking issue for [conditionals] or [loops] in a const
context for the current status.

[conditionals]: https://github.com/rust-lang/rust/issues/49146
[loops]: https://github.com/rust-lang/rust/issues/52000