Skip to content
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

Update error messages #1737

Merged
merged 1 commit into from Sep 15, 2019
Merged

Update error messages #1737

merged 1 commit into from Sep 15, 2019

Conversation

codeworm96
Copy link
Contributor

To keep error messages in sync with rust-lang/rust#57250.

@carols10cents
Copy link
Member

Thanks! We'll merge this when it's stable.

Copy link
Member

@carols10cents carols10cents left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merge when 1.33 is released

@carols10cents carols10cents added the blocked upstream Blocked on a change that needs to happen in a different repo first label Jan 30, 2019
@hdhoang
Copy link

hdhoang commented Mar 1, 2019

congrats @codeworm96! you are now in the "thanks" list for rust 1.33

@carols10cents
Copy link
Member

Actually, I realize now that I misspoke. We not only need to have 1.33 stable, we also need to decide that the version of Rust that the book is using is >1.33. Right now, the book is frozen at 1.31.

I'm going to update the label though to indicate that we're no longer waiting on something to happen outside of this repo, we're only waiting for our own decision.

@carols10cents carols10cents added blocked Blocked on a change we need to make in this repo and removed blocked upstream Blocked on a change that needs to happen in a different repo first labels Mar 2, 2019
@steveklabnik
Copy link
Member

Now that the tree is open, this should be unblocked, right? We haven't picked a new version, but whatever it is will certainly be > 1.33.

@carols10cents carols10cents removed the blocked Blocked on a change we need to make in this repo label Sep 15, 2019
@carols10cents
Copy link
Member

True fact. I'm still working on an automated way to update all the error messages at once, but that's taking me a long time. I just bumped our rust version to 1.37, so I'm merging this. 🎉

@carols10cents carols10cents merged commit af34ac9 into rust-lang:master Sep 15, 2019
tmandry added a commit to tmandry/rust that referenced this pull request Sep 18, 2019
Update books

## book

24 commits in 7ddc46460f09a5cd9bd2a620565bdc20b3315ea9..871416b85c1a73717d65d6f4a9ea29e5aef3db0e
2019-06-27 09:50:36 -0400 to 2019-09-16 09:46:20 -0400
- Ch16-2 add missing Ferris (rust-lang/book#2033)
- Update version mentioned on the front page
- Update error messages (rust-lang/book#1737)
- Update version of Rust used to 1.37
- Replace Cargo docs link with a more specific link (rust-lang/book#2066)
- Added missing await reserved keyword (rust-lang/book#2064)
- add does_not_compile for a snippet (rust-lang/book#2056)
- Added second missing dyn (rust-lang/book#2046)
- Removed unnecessary & in function call (rust-lang/book#2038)
- Printing non-Display structs is a *compile* error (rust-lang/book#2031)
- Update Readme mdBook version to match linked file (rust-lang/book#2012)
- Update loose mdbook version reference (rust-lang/book#2003)
- Added a bullet point to have list of things unsafe allows for match u… (rust-lang/book#1993)
- Rewrote a confusing sentence (rust-lang/book#1986)
- Replace deprecated `...` range syntax with `..=` (rust-lang/book#1977)
- correct wording for integration test doc (rust-lang/book#1971)
- Mark the dangle function as does_not_compile (rust-lang/book#1965)
- Add more words to the quote from the actual Go documentation (rust-lang/book#1960)
- Remove unused import in lfp (rust-lang/book#1944)
- A small typo? (rust-lang/book#1931)
- Make the code not compile to match the text (rust-lang/book#1926)
- Ferris does-not-compile added (ch9.2) (rust-lang/book#1925)
- ch07 - remove note regarding use and relative path (rust-lang/book#1820)
- tweak opening paragraph of deref coercions (rust-lang/book#1749)

## rust-by-example

9 commits in e76be6b2dc84c6a992e186157efe29d625e29b94..67cfbf31df880728dcf7cb35b15b028ec92caf31
2019-09-03 07:42:26 -0300 to 2019-09-18 09:36:40 -0300
- Fix rust-lang/rust-by-example#90: Add supertraits and Fully Qualified syntax (rust-lang/rust-by-example#1259)
- Fix some broken links. (rust-lang/rust-by-example#1258)
- Fix rust-lang/rust-by-example#1253: Document enum type aliases (rust-lang/rust-by-example#1255)
- Inline code in some new/changed chapters (rust-lang/rust-by-example#1254)
- fix rust-lang/rust-by-example#1067: explain that unit tests can return Result<()> (rust-lang/rust-by-example#1252)
- Fix rust-lang/rust-by-example#1060: add page on Impl Trait (rust-lang/rust-by-example#1251)
- Fix rust-lang/rust-by-example#1053: Added a page about the dyn keyword (rust-lang/rust-by-example#1249)
- Fix rust-lang/rust-by-example#1110: add examples of ? and Option (rust-lang/rust-by-example#1250)
- fix 1037: add the TryFrom chapter back in (rust-lang/rust-by-example#1247)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants