-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Rolling up PRs in the queue #15949
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
Rolling up PRs in the queue #15949
Conversation
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 trait was only implemented by `String`. It provided the methods `into_bytes` and `append`, both of which **are already implemented as normal methods** of `String` (not as trait methods). This change improves the consistency of strings. This shouldn't break any code, except if somebody has implemented `OwnedStr` for a user-defined type.
Use `string::raw::from_buf` instead [breaking-change]
Replaced by `string::raw::from_utf8` [breaking-change]
Use `string:raw::from_utf8` instead [breaking-change]
Replaced by `string::raw::from_buf_len` [breaking-change]
Replaced by `string::raw::from_parts` [breaking-change]
We use use `from_utf8_lossy` to convert it to a MaybeOwned string, to avoid failing in case the CString contains invalid UTF-8
This also removes checks in other methods of `CString` Breaking changes: * `CString::new` now fails if `buf` is null. To avoid this add a check before creatng a new `CString` . * The `is_null` and `is_not_null` methods are deprecated, because a `CString` cannot be null. * Other methods which used to fail if the `CString` was null do not fail anymore [breaking-change]
There should be no more problems during SjLj pass
This eliminates the last vestige of the `~` syntax. Instead of `~self`, write `self: Box<TypeOfSelf>`; instead of `mut ~self`, write `mut self: Box<TypeOfSelf>`, replacing `TypeOfSelf` with the self-type parameter as specified in the implementation. Closes rust-lang#13885. [breaking-change]
rustdoc currently determines whether to produce a table of contents (along with numbered sections) from the input type: yes for markdown input, no for Rust input. This commit adds a flag to disable the table of contents for markdown input, which is useful for embedding the output in a larger context.
This is done entirely in the libraries for functions up to 16 arguments. A macro is used so that more arguments can be easily added if we need. Note that I had to adjust the overloaded call algorithm to not try calling the overloaded call operator if the callee is a built-in function type, to prevent loops. Closes rust-lang#15448.
This breaks code like: struct Point<T> { x: T, y: T, } let pt = Point::<bool> { x: 1, y: 2, }; Change this code to not contain a type error. For example: let pt = Point::<int> { x: 1, y: 2, }; Closes rust-lang#9620. Closes rust-lang#15875. [breaking-change]
Like rustc, this is required by cargo to build documentation.
Closes rust-lang#15807 (Deprecate some unsafe functions in `str::raw` and remove `OwnedStr` trait) Closes rust-lang#15859 (Implement `Show` for `CString` and fix warning compiling tests for libcollections) Closes rust-lang#15911 (Updated LLVM for iOS) Closes rust-lang#15925 (libsyntax: Remove `~self` and `mut ~self` from the language.) Closes rust-lang#15930 (Add examples for Checked[Add|Sub|Mul|Div]) Closes rust-lang#15933 (rustdoc: make table of contents optional) Closes rust-lang#15937 (librustc: Make bare functions implement the `FnMut` trait.) Closes rust-lang#15938 (librustc: Check structure constructors against their types.) Closes rust-lang#15939 (rustdoc: Add a --crate-name option) Closes rust-lang#15942 (Document trie collections) Closes rust-lang#15943 (Document SmallIntMap)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.