-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Rollup #19931
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
Closed
Rollup #19931
Changes from all commits
Commits
Show all changes
67 commits
Select commit
Hold shift + click to select a range
31b240d
Add comments with type annotations.
steveklabnik e92e8ac
Use rust-installer for installation
brson 577f742
serialize: Avoid stray nul characters when auto-serializing char.
lifthrasiir 19eb4bf
Add coercions from *mut to *const and from &mut to *const.
nrc 9a47d65
rustc: Don't panic on corrupt metadata
alexcrichton f053f29
Fix mispelling in char.rs error message
mchaput ac7dc03
libsyntax: Make deriving also respect where bounds.
luqmana ab1bdde
libsyntax: Output where clauses in pretty printer for structs.
luqmana c2b0d7d
Modify `regex::Captures::{at,name}` to return `Option`
emk 5966815
InvariantLifetime is Copy-able
shepmaster 5c29df6
Fix indentation in a code example in the ownership guide.
jbranchaud a333e01
Fix typo: intuitive -> unintuitive
nicholasbishop 1fbca88
std: Fully stabilize Option<T>
alexcrichton 0a968ef
Add test for #19129
26ce387
Minor changes to Rust Language FAQ
iKevinY 0d38cae
std: Bind port early to make a test more reliable
alexcrichton f63784f
impl `Copy` for `NoSend`/`NoSync`
c270390
Fix Markdown syntax in docs for OsRng
sourcefrog 8fcc832
Standardize some usages of "which" in docstrings
drewm1980 4df66cd
Resolve lifetimes in associated types
sanxiyn 2e74291
remove explicit if_let and tuple_indexing feature enables as they now…
c9ea7c9
serialize: Change some FnOnce bounds to FnMut
alexcrichton 72608eb
Fixed a small spelling mistake
YafahEdelman a9dbb79
Add a doctest for the string Add function.
jbranchaud 765806e
Use wrapper structs for `BTreeMap`'s iterators.
csouth3 a81c3ab
Use wrapper structs for `BTreeSet`'s iterators.
csouth3 85fe141
Use wrapper structs for `HashMap`'s iterators.
csouth3 341cf40
Use wrapper structs for `HashSet`'s iterators.
csouth3 13e7f9c
Handle higher-rank lifetimes when generating type IDs
bkoropoff 3925b4d
Add regression test for #19791
bkoropoff 0a1798d
Fix pretty printing of HRTB syntax
bkoropoff 23bae85
std: Second-pass stabilization of `mem`
alexcrichton 9021f61
std: Second pass stabilization of `default`
alexcrichton 3a073e3
Tuple test no longer needed. Is already in run-pass tests
mdinger b7ba69d
Fixed iOS build after oibit
vhbit 8f4e9c2
Fix `make TAGS.emacs`.
pnkfelix df5404c
std: Change escape_unicode to use new escapes
alexcrichton b98391e
rollup merge of #19729: vhbit/ios-oibit-fix
brson 0aedfee
rollup merge of #19743: steveklabnik/gh16143
brson 0c99f2e
rollup merge of #19753: brson/rust-installer
brson da43a12
rollup merge of #19764: lifthrasiir/that-stray-nul
brson 3643cb3
rollup merge of #19766: nick29581/coerce-raw
brson f3f3fd9
rollup merge of #19770: csouth3/iterator-wrapperstructs
brson 3bc3ae3
rollup merge of #19799: alexcrichton/stop-panicking
brson b2ff8bb
rollup merge of #19818: emk/regex_at_name_opt
brson 813d828
rollup merge of #19821: bkoropoff/issue-19791
brson 2ad1e0f
rollup merge of #19830: mchaput/patch-1
brson f756c97
rollup merge of #19831: luqmana/deriving-where
brson b5f8287
rollup merge of #19838: shepmaster/invariant-lifetime-copy
brson 14de70f
rollup merge of #19845: jbranchaud/fix-indentation-in-ownership-guide
brson d899e18
rollup merge of #19846: nicholasbishop/bishops_magical_intuition
brson 7b92a2d
rollup merge of #19849: alexcrichton/second-pass-option
brson 690d2df
rollup merge of #19856: iKevinY/faq-fixes
brson 0193a56
rollup merge of #19857: japaric/test-19129
brson 1ce4c98
rollup merge of #19859: alexcrichton/flaky-test
brson d960146
rollup merge of #19860: japaric/copy-markers
brson 8ef4120
rollup merge of #19868: sourcefrog/master
brson 5eabd91
rollup merge of #19873: drewm1980/master
brson 8a5bc91
rollup merge of #19880: sanxiyn/assoc-resolve-lifetime
brson 64db64c
rollup merge of #19881: larroy/master
brson 8eeeb7d
rollup merge of #19885: alexcrichton/char-escape
brson b0a3bf6
rollup merge of #19887: alexcrichton/serialize-fn-mut
brson 91c397a
rollup merge of #19893: JacobEdelman/patch-1
brson 8aa9876
rollup merge of #19895: jbranchaud/add-string-add-doctest
brson 1572479
rollup merge of #19902: alexcrichton/second-pass-mem
brson 984eb13
rollup merge of #19911: mdinger/tuple_tests2
brson 6ed473d
rollup merge of #19923: pnkfelix/fix-make-tags.emacs
brson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rollup vommited on this line. I think it thinks it's Rust code. Need a
text
marker or something.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Source PR has been fixed. Thanks @csouth3!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad! I didn't think the code block would be parsed as Rust code when formatted like that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No worries, we all mess up. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just so that I can prevent issues like this in the future, should I be running
make check
after altering documentation rather than just usingmake docs
? I was testing changes usingmake docs
which I guess is the reason the problem snuck through in the first place.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make check-docs
will do it! :)Edit: The above command tests all code examples in documentation, which the offending line was considered to be. Running it should turn up any errors of this nature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
protips from @steveklabnik: you can run rustdoc on the area of interest, too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gotcha, I must have missed that when reading through the Makefile. Thanks!