Skip to content

Rollup of 11 pull requests #66141

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

Merged
merged 28 commits into from
Nov 6, 2019
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
692ae3d
Move has_panic_handler to query
Mark-Simulacrum Oct 28, 2019
6a30ce6
Add type parameter name to type mismatch error messages
dkadashev Oct 31, 2019
036f182
Show type param definitions in type mismatch errors
dkadashev Oct 31, 2019
4e10b75
Update tests
dkadashev Nov 1, 2019
774e60b
Prettify mismatched types error message in a special case
dkadashev Nov 2, 2019
90f891d
syntax: Avoid span arithmetics for delimiter tokens
petrochenkov Nov 3, 2019
d06a4de
use silent emitter for rustdoc highlighting pass
euclio Nov 3, 2019
b4dde36
let caller of check_ptr_access_align control the error message
RalfJung Nov 4, 2019
3bbfc73
Detect `::` -> `:` typo when involving turbofish
estebank Nov 5, 2019
f28126e
Fix typo in explanation of `E0080`
JOE1994 Nov 5, 2019
7d7fbcb
Remove `PartialEq` and `Eq` from the `SpecialDerives`.
pnkfelix Oct 28, 2019
0dfe0ed
Review feedback: Remove more stuff! Simplify simplify simplify!
pnkfelix Oct 30, 2019
9924361
Review feedback: alpha-rename field from `copy_derives` to `container…
pnkfelix Nov 4, 2019
a8ccbf5
Account for typo in turbofish and suggest `::`
estebank Nov 5, 2019
2595332
rustc: remove "GlobalMetaData" dead code from hir::map::definitions.
eddyb Nov 5, 2019
bbd7f5c
Do not ICE whith a precision flag in formatting str and no format arg…
estebank Nov 4, 2019
b0f258b
Tweak type mismatch caused by break on tail expr
estebank Nov 5, 2019
5910116
Rollup merge of #65892 - pnkfelix:trim-special-derives, r=petrochenkov
Centril Nov 6, 2019
f746d99
Rollup merge of #66014 - dkadashev:47319-type-param-def-location, r=e…
Centril Nov 6, 2019
5c4a595
Rollup merge of #66027 - Mark-Simulacrum:panic-handler-query, r=alexc…
Centril Nov 6, 2019
e5da1a1
Rollup merge of #66054 - petrochenkov:delspan, r=estebank
Centril Nov 6, 2019
f5c5489
Rollup merge of #66068 - euclio:null-emitter, r=estebank
Centril Nov 6, 2019
76311a8
Rollup merge of #66081 - RalfJung:ptr-offset, r=zackmdavis
Centril Nov 6, 2019
7d66a09
Rollup merge of #66093 - estebank:fmt-ice, r=Centril
Centril Nov 6, 2019
409b2bf
Rollup merge of #66098 - estebank:path-asciption-typo, r=Centril
Centril Nov 6, 2019
32e745f
Rollup merge of #66101 - estebank:break-tail-e0308, r=Centril
Centril Nov 6, 2019
f221c3d
Rollup merge of #66106 - JOE1994:master, r=GuillaumeGomez
Centril Nov 6, 2019
35a5ffc
Rollup merge of #66115 - eddyb:global-meta-what, r=michaelwoerister
Centril Nov 6, 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
Fix typo in explanation of E0080
Handling issue #66105 in Rust repo.
`evaluate an constant expression` to `evaluate a constant expression`
  • Loading branch information
JOE1994 authored Nov 5, 2019
commit f28126ee1bebc4b4216f9ffb8f375e59983da65d
2 changes: 1 addition & 1 deletion src/librustc/error_codes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ This works because `Box` is a pointer, so its size is well-known.
"##,

E0080: r##"
This error indicates that the compiler was unable to sensibly evaluate an
This error indicates that the compiler was unable to sensibly evaluate a
constant expression that had to be evaluated. Attempting to divide by 0
or causing integer overflow are two ways to induce this error. For example:

Expand Down