-
Notifications
You must be signed in to change notification settings - Fork 12.1k
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
Rolling up PRs in the queue #22520
Rolling up PRs in the queue #22520
Commits on Feb 16, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 5550beb - Browse repository at this point
Copy the full SHA 5550bebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6824f13 - Browse repository at this point
Copy the full SHA 6824f13View commit details
Commits on Feb 17, 2015
-
Simplify the codegen in iter_vec_loop
No need to create a bunch of blocks and a stack allocated temporary just to build a simple loop.
Configuration menu - View commit details
-
Copy full SHA for 378abdb - Browse repository at this point
Copy the full SHA 378abdbView commit details -
Use the right array type in trans_slice_vec
In trans_slice_vec we currently use arrayalloca, which gives us a pointer to the element type with enough memory allocated for the requested number of elements. This works, but everywhere else we use the [n x T] type for fixed size arrays and so we have to bitcast the pointer here. Let's directly use the proper type for the allocation and remove some code duplication along the way.
Configuration menu - View commit details
-
Copy full SHA for 0fe880b - Browse repository at this point
Copy the full SHA 0fe880bView commit details -
When converting parameters for an object type, be careful of defaults…
… that reference `Self`. Fixes rust-lang#18956.
Configuration menu - View commit details
-
Copy full SHA for 02e1d5e - Browse repository at this point
Copy the full SHA 02e1d5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ff388c1 - Browse repository at this point
Copy the full SHA ff388c1View commit details
Commits on Feb 18, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 5705d48 - Browse repository at this point
Copy the full SHA 5705d48View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f586b9 - Browse repository at this point
Copy the full SHA 2f586b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 061206b - Browse repository at this point
Copy the full SHA 061206bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d2f54e6 - Browse repository at this point
Copy the full SHA d2f54e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8527c0 - Browse repository at this point
Copy the full SHA b8527c0View commit details -
Avoid ptrtoint when checking if a pointer is null
Casting the pointer to an integer requires a ptrtoint, while casting 0 to a pointer is directly folded to a `null` value.
Configuration menu - View commit details
-
Copy full SHA for 52b5150 - Browse repository at this point
Copy the full SHA 52b5150View commit details -
Eliminate excessive null-checks from slice iterators
The data pointer used in the slice is never null, using assume() to tell LLVM about it gets rid of various unneeded null checks when iterating over the slice. Since the snapshot compiler is still using an older LLVM version, omit the call in stage0, because compile times explode otherwise. Benchmarks from rust-lang#18193 ```` running 5 tests test _range ... bench: 33329 ns/iter (+/- 417) test assembly ... bench: 33299 ns/iter (+/- 58) test enumerate ... bench: 33318 ns/iter (+/- 83) test iter ... bench: 33311 ns/iter (+/- 130) test position ... bench: 33300 ns/iter (+/- 47) test result: ok. 0 passed; 0 failed; 0 ignored; 5 measured ```` Fixes rust-lang#18193
Configuration menu - View commit details
-
Copy full SHA for 7412d1b - Browse repository at this point
Copy the full SHA 7412d1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f82e231 - Browse repository at this point
Copy the full SHA f82e231View commit details -
* cast 3-valued `core::cmp::Ordering` to `i32`, not `int`. * use `isize`/`usize` in the impl macros.
Configuration menu - View commit details
-
Copy full SHA for 343909b - Browse repository at this point
Copy the full SHA 343909bView commit details -
Audit
core::default
forint
/uint
usage.* Use `i32` (`u32`) in doc examples, not `int` (`u32`). * Switch impl macros to use `isize`/`usize` rather than `int`/`uint`.
Configuration menu - View commit details
-
Copy full SHA for e240cb9 - Browse repository at this point
Copy the full SHA e240cb9View commit details -
Audit
core::intrinsics
forint
/uint
:size_of
/align_of
use `……usize`. Likewise, `fn offset` takes an `isize`.
Configuration menu - View commit details
-
Copy full SHA for fc0f6e8 - Browse repository at this point
Copy the full SHA fc0f6e8View commit details -
Introduce the new phantomdata/phantomfn markers and integrate them
into variance inference; fix various bugs in variance inference so that it considers the correct set of constraints; modify infer to consider the results of variance inference for type arguments.
Configuration menu - View commit details
-
Copy full SHA for 2594d56 - Browse repository at this point
Copy the full SHA 2594d56View commit details -
Report errors for type parameters that are not constrained, either by
variance or an associated type.
Configuration menu - View commit details
-
Copy full SHA for 91eedfe - Browse repository at this point
Copy the full SHA 91eedfeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c841f2 - Browse repository at this point
Copy the full SHA 8c841f2View commit details -
Rewrite
Unique<T>
so that it is covariant in T, impliesNonZero
a……nd ownership, and also follows the API of `NonZero` a bit more closely. More to do here I think (including perhaps a new name).
Configuration menu - View commit details
-
Copy full SHA for 801bc48 - Browse repository at this point
Copy the full SHA 801bc48View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2529ac - Browse repository at this point
Copy the full SHA f2529acView commit details -
Configuration menu - View commit details
-
Copy full SHA for c5579ca - Browse repository at this point
Copy the full SHA c5579caView commit details -
Configuration menu - View commit details
-
Copy full SHA for b3c00a6 - Browse repository at this point
Copy the full SHA b3c00a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68ebe64 - Browse repository at this point
Copy the full SHA 68ebe64View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2891cc - Browse repository at this point
Copy the full SHA c2891ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8dbdcdb - Browse repository at this point
Copy the full SHA 8dbdcdbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bcf3a4 - Browse repository at this point
Copy the full SHA 2bcf3a4View commit details -
Fallout: AtomicPtr needs phantom data to indicate that it contains an…
… unsafe pointer.
Configuration menu - View commit details
-
Copy full SHA for 1735e41 - Browse repository at this point
Copy the full SHA 1735e41View commit details -
Configuration menu - View commit details
-
Copy full SHA for d801a4d - Browse repository at this point
Copy the full SHA d801a4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef42c2b - Browse repository at this point
Copy the full SHA ef42c2bView commit details -
Fallout: tests. As tests frequently elide things, lots of changes
here. Some of this may have been poorly rebased, though I tried to be careful and preserve the spirit of the test.
Configuration menu - View commit details
-
Copy full SHA for 872ce47 - Browse repository at this point
Copy the full SHA 872ce47View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60f507b - Browse repository at this point
Copy the full SHA 60f507bView commit details -
Configuration menu - View commit details
-
Copy full SHA for aaf4176 - Browse repository at this point
Copy the full SHA aaf4176View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2953710 - Browse repository at this point
Copy the full SHA 2953710View commit details -
Configuration menu - View commit details
-
Copy full SHA for 199b992 - Browse repository at this point
Copy the full SHA 199b992View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62b5177 - Browse repository at this point
Copy the full SHA 62b5177View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ed5842 - Browse repository at this point
Copy the full SHA 1ed5842View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e0bb52 - Browse repository at this point
Copy the full SHA 9e0bb52View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae7c534 - Browse repository at this point
Copy the full SHA ae7c534View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f2a1c9 - Browse repository at this point
Copy the full SHA 6f2a1c9View commit details -
Fallout: Accepter trait needs phantomdata. This seems like it should
be migrated to an associated type anyway.
Configuration menu - View commit details
-
Copy full SHA for df76442 - Browse repository at this point
Copy the full SHA df76442View commit details -
Configuration menu - View commit details
-
Copy full SHA for d179bb5 - Browse repository at this point
Copy the full SHA d179bb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8cb11c - Browse repository at this point
Copy the full SHA e8cb11cView commit details -
std: Stabilize the
hash
moduleThis commit is an implementation of [RFC 823][rfc] which is another pass over the `std::hash` module for stabilization. The contents of the module were not entirely marked stable, but some portions which remained quite similar to the previous incarnation are now marked `#[stable]`. Specifically: [rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0823-hash-simplification.md * `std::hash` is now stable (the name) * `Hash` is now stable * `Hash::hash` is now stable * `Hasher` is now stable * `SipHasher` is now stable * `SipHasher::new` and `new_with_keys` are now stable * `Hasher for SipHasher` is now stable * Many `Hash` implementations are now stable All other portions of the `hash` module remain `#[unstable]` as they are less commonly used and were recently redesigned. This commit is a breaking change due to the modifications to the `std::hash` API and more details can be found on the [RFC][rfc]. Closes rust-lang#22467 [breaking-change]
Configuration menu - View commit details
-
Copy full SHA for f83e23a - Browse repository at this point
Copy the full SHA f83e23aView commit details -
This commit implements RFC 580 by renaming: * DList -> LinkedList * Bitv -> BitVec * BitvSet -> BitSet * RingBuf -> VecDeque More details are in [the RFC](rust-lang/rfcs#580) [breaking-change]
Configuration menu - View commit details
-
Copy full SHA for 5fa9de1 - Browse repository at this point
Copy the full SHA 5fa9de1View commit details -
This breaks all implementors of Extend, as they must now accept IntoIterator instead of Iterator. The fix for this is generally trivial (change the bound, and maybe call into_iter() on the argument to get the old argument). Users of Extend should be unaffected because Iterators are IntoIterator. [breaking-change]
Configuration menu - View commit details
-
Copy full SHA for 4a9d190 - Browse repository at this point
Copy the full SHA 4a9d190View commit details -
make FromIterator use IntoIterator
This breaks all implementors of FromIterator, as they must now accept IntoIterator instead of Iterator. The fix for this is generally trivial (change the bound, and maybe call into_iter() on the argument to get the old argument). Users of FromIterator should be unaffected because Iterators are IntoIterator. [breaking-change]
Configuration menu - View commit details
-
Copy full SHA for 66613e2 - Browse repository at this point
Copy the full SHA 66613e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 204e2bd - Browse repository at this point
Copy the full SHA 204e2bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for a36fc2d - Browse repository at this point
Copy the full SHA a36fc2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a2393e6 - Browse repository at this point
Copy the full SHA a2393e6View commit details -
Simplify README by not talking about the source tarball option
I believe that few enough people build from source tarballs that we don't have to talk about it explicitly.
Configuration menu - View commit details
-
Copy full SHA for 4acc483 - Browse repository at this point
Copy the full SHA 4acc483View commit details -
Configuration menu - View commit details
-
Copy full SHA for 21ed20b - Browse repository at this point
Copy the full SHA 21ed20bView commit details -
README: Make the wiki links more useful.
The page we want them to find is 'getting started developing'.
Configuration menu - View commit details
-
Copy full SHA for 9265e13 - Browse repository at this point
Copy the full SHA 9265e13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4618955 - Browse repository at this point
Copy the full SHA 4618955View commit details -
README: Add one sentence about what Rust is.
Most people don't know what Rust is.
Configuration menu - View commit details
-
Copy full SHA for aaabdbf - Browse repository at this point
Copy the full SHA aaabdbfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 73cc4ed - Browse repository at this point
Copy the full SHA 73cc4edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7430e58 - Browse repository at this point
Copy the full SHA 7430e58View commit details -
Configuration menu - View commit details
-
Copy full SHA for c273571 - Browse repository at this point
Copy the full SHA c273571View commit details -
Add deprecated versions of the old markers and integrate them back in…
…to the variance analysis.
Configuration menu - View commit details
-
Copy full SHA for d622235 - Browse repository at this point
Copy the full SHA d622235View commit details -
std: Implement CString-related RFCs
This commit is an implementation of [RFC 592][r592] and [RFC 840][r840]. These two RFCs tweak the behavior of `CString` and add a new `CStr` unsized slice type to the module. [r592]: https://github.com/rust-lang/rfcs/blob/master/text/0592-c-str-deref.md [r840]: https://github.com/rust-lang/rfcs/blob/master/text/0840-no-panic-in-c-string.md The new `CStr` type is only constructable via two methods: 1. By `deref`'ing from a `CString` 2. Unsafely via `CStr::from_ptr` The purpose of `CStr` is to be an unsized type which is a thin pointer to a `libc::c_char` (currently it is a fat pointer slice due to implementation limitations). Strings from C can be safely represented with a `CStr` and an appropriate lifetime as well. Consumers of `&CString` should now consume `&CStr` instead to allow producers to pass in C-originating strings instead of just Rust-allocated strings. A new constructor was added to `CString`, `new`, which takes `T: IntoBytes` instead of separate `from_slice` and `from_vec` methods (both have been deprecated in favor of `new`). The `new` method returns a `Result` instead of panicking. The error variant contains the relevant information about where the error happened and bytes (if present). Conversions are provided to the `io::Error` and `old_io::IoError` types via the `FromError` trait which translate to `InvalidInput`. This is a breaking change due to the modification of existing `#[unstable]` APIs and new deprecation, and more detailed information can be found in the two RFCs. Notable breakage includes: * All construction of `CString` now needs to use `new` and handle the outgoing `Result`. * Usage of `CString` as a byte slice now explicitly needs a `.as_bytes()` call. * The `as_slice*` methods have been removed in favor of just having the `as_bytes*` methods. Closes rust-lang#22469 Closes rust-lang#22470 [breaking-change]
Configuration menu - View commit details
-
Copy full SHA for 1860ee5 - Browse repository at this point
Copy the full SHA 1860ee5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74199c2 - Browse repository at this point
Copy the full SHA 74199c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5491e6 - Browse repository at this point
Copy the full SHA f5491e6View commit details -
rollup merge of rust-lang#21886: dotdash/fast_slice_iter
The data pointer used in the slice is never null, using assume() to tell LLVM about it gets rid of various unneeded null checks when iterating over the slice. Since the snapshot compiler is still using an older LLVM version, omit the call in stage0, because compile times explode otherwise. Benchmarks from rust-lang#18193 ```` running 5 tests test _range ... bench: 33329 ns/iter (+/- 417) test assembly ... bench: 33299 ns/iter (+/- 58) test enumerate ... bench: 33318 ns/iter (+/- 83) test iter ... bench: 33311 ns/iter (+/- 130) test position ... bench: 33300 ns/iter (+/- 47) test result: ok. 0 passed; 0 failed; 0 ignored; 5 measured ```` Fixes rust-lang#18193
Configuration menu - View commit details
-
Copy full SHA for fa30c4f - Browse repository at this point
Copy the full SHA fa30c4fView commit details -
rollup merge of rust-lang#22118: fhahn/separate-parse-fail-2
After making `rustc` fail on errors at a stop point, like `-Z parse-only`, in rust-lang#22117, the files in this PR also fail during the parse stage and should be moved as well. Sorry for spliting this move up in two PRs.
Configuration menu - View commit details
-
Copy full SHA for c5fddd8 - Browse repository at this point
Copy the full SHA c5fddd8View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc61f9c - Browse repository at this point
Copy the full SHA cc61f9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f8b9d6 - Browse repository at this point
Copy the full SHA 9f8b9d6View commit details -
rollup merge of rust-lang#22287: Ryman/purge_carthographers
This overlaps with rust-lang#22276 (I left make check running overnight) but covers a number of additional cases and has a few rewrites where the clones are not even necessary. This also implements `RandomAccessIterator` for `iter::Cloned` cc @steveklabnik, you may want to glance at this before rust-lang#22281 gets the bors treatment
Configuration menu - View commit details
-
Copy full SHA for c07ec50 - Browse repository at this point
Copy the full SHA c07ec50View commit details -
rollup merge of rust-lang#22395: brson/readme-cleanup
Just a few things to make the README ever more perfect. r? @steveklabnik
Configuration menu - View commit details
-
Copy full SHA for 31166ec - Browse repository at this point
Copy the full SHA 31166ecView commit details -
rollup merge of rust-lang#22436: nikomatsakis/issue-22246-bound-lifet…
…imes-of-assoc-types Take 2. This PR includes a bunch of refactoring that was part of an experimental branch implementing [implied bounds]. That particular idea isn't ready to go yet, but the refactoring proved useful for fixing rust-lang#22246. The implied bounds branch also exposed rust-lang#22110 so a simple fix for that is included here. I still think some more refactoring would be a good idea here -- in particular I think most of the code in wf.rs is kind of duplicating the logic in implicator and should go, but I decided to post this PR and call it a day before diving into that. I'll write a bit more details about the solutions I adopted in the various bugs. I patched the two issues I was concerned about, which was the handling of supertraits and HRTB (the latter turned out to be fine, so I added a comment explaining why.) r? @pnkfelix (for now, anyway) cc @aturon [implied bounds]: http://smallcultfollowing.com/babysteps/blog/2014/07/06/implied-bounds/
Configuration menu - View commit details
-
Copy full SHA for 754db0f - Browse repository at this point
Copy the full SHA 754db0fView commit details -
rollup merge of rust-lang#22437: dotdash/fix_array_type
In trans_slice_vec we currently use arrayalloca, which gives us a pointer to the element type with enough memory allocated for the requested number of elements. This works, but everywhere else we use the [n x T] type for fixed size arrays and so we have to bitcast the pointer here. Let's directly use the proper type for the allocation and remove some code duplication along the way.
Configuration menu - View commit details
-
Copy full SHA for 386d329 - Browse repository at this point
Copy the full SHA 386d329View commit details -
rollup merge of rust-lang#22438: dotdash/iter_vec_loop
No need to create a bunch of blocks and a stack allocated temporary just to build a simple loop.
Configuration menu - View commit details
-
Copy full SHA for d8753a0 - Browse repository at this point
Copy the full SHA d8753a0View commit details -
rollup merge of rust-lang#22452: nikomatsakis/issue-22040-18956-Self
The big change here is that we update the object-safety rules to prohibit references to `Self` in the supertrait listing. See rust-lang#22040 for the motivation. The other change is to handle the interaction of defaults that reference `Self` and object types (where `Self` is erased). We force users to give an explicit type in that scenario. r? @aturon
Configuration menu - View commit details
-
Copy full SHA for 261364d - Browse repository at this point
Copy the full SHA 261364dView commit details -
rollup merge of rust-lang#22480: alexcrichton/hashv3
This commit is an implementation of [RFC 823][rfc] which is another pass over the `std::hash` module for stabilization. The contents of the module were not entirely marked stable, but some portions which remained quite similar to the previous incarnation are now marked `#[stable]`. Specifically: [rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0823-hash-simplification.md * `std::hash` is now stable (the name) * `Hash` is now stable * `Hash::hash` is now stable * `Hasher` is now stable * `SipHasher` is now stable * `SipHasher::new` and `new_with_keys` are now stable * `Hasher for SipHasher` is now stable * Many `Hash` implementations are now stable All other portions of the `hash` module remain `#[unstable]` as they are less commonly used and were recently redesigned. This commit is a breaking change due to the modifications to the `std::hash` API and more details can be found on the [RFC][rfc]. Closes rust-lang#22467 [breaking-change]
Configuration menu - View commit details
-
Copy full SHA for 9774b7e - Browse repository at this point
Copy the full SHA 9774b7eView commit details -
rollup merge of rust-lang#22482: alexcrichton/cstr-changes
This commit is an implementation of [RFC 592][r592] and [RFC 840][r840]. These two RFCs tweak the behavior of `CString` and add a new `CStr` unsized slice type to the module. [r592]: https://github.com/rust-lang/rfcs/blob/master/text/0592-c-str-deref.md [r840]: https://github.com/rust-lang/rfcs/blob/master/text/0840-no-panic-in-c-string.md The new `CStr` type is only constructable via two methods: 1. By `deref`'ing from a `CString` 2. Unsafely via `CStr::from_ptr` The purpose of `CStr` is to be an unsized type which is a thin pointer to a `libc::c_char` (currently it is a fat pointer slice due to implementation limitations). Strings from C can be safely represented with a `CStr` and an appropriate lifetime as well. Consumers of `&CString` should now consume `&CStr` instead to allow producers to pass in C-originating strings instead of just Rust-allocated strings. A new constructor was added to `CString`, `new`, which takes `T: IntoBytes` instead of separate `from_slice` and `from_vec` methods (both have been deprecated in favor of `new`). The `new` method returns a `Result` instead of panicking. The error variant contains the relevant information about where the error happened and bytes (if present). Conversions are provided to the `io::Error` and `old_io::IoError` types via the `FromError` trait which translate to `InvalidInput`. This is a breaking change due to the modification of existing `#[unstable]` APIs and new deprecation, and more detailed information can be found in the two RFCs. Notable breakage includes: * All construction of `CString` now needs to use `new` and handle the outgoing `Result`. * Usage of `CString` as a byte slice now explicitly needs a `.as_bytes()` call. * The `as_slice*` methods have been removed in favor of just having the `as_bytes*` methods. Closes rust-lang#22469 Closes rust-lang#22470 [breaking-change]
Configuration menu - View commit details
-
Copy full SHA for f365717 - Browse repository at this point
Copy the full SHA f365717View commit details -
Configuration menu - View commit details
-
Copy full SHA for b90e407 - Browse repository at this point
Copy the full SHA b90e407View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9aee389 - Browse repository at this point
Copy the full SHA 9aee389View commit details -
rollup merge of rust-lang#22491: Gankro/into_iter
Conflicts: src/libcollections/bit.rs src/libcollections/linked_list.rs src/libcollections/vec_deque.rs src/libstd/sys/common/wtf8.rs
Configuration menu - View commit details
-
Copy full SHA for 5a32b4a - Browse repository at this point
Copy the full SHA 5a32b4aView commit details -
rollup merge of rust-lang#22497: nikomatsakis/suffixes
Conflicts: src/librustc_trans/trans/tvec.rs
Configuration menu - View commit details
-
Copy full SHA for 5250a82 - Browse repository at this point
Copy the full SHA 5250a82View commit details -
Configuration menu - View commit details
-
Copy full SHA for b64dfff - Browse repository at this point
Copy the full SHA b64dfffView commit details -
Declare
&foo[]
to be obsolete syntax. Modify the obsolete mechanism tosupport warnings.
Configuration menu - View commit details
-
Copy full SHA for 64cd30e - Browse repository at this point
Copy the full SHA 64cd30eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ea84ae - Browse repository at this point
Copy the full SHA 9ea84aeView commit details -
This commit stabilizes `std::borrow`, making the following modifications to catch up the API with language changes: * It renames `BorrowFrom` to `Borrow`, as was originally intended (but blocked for technical reasons), and reorders the parameters accordingly. * It moves the type parameter of `ToOwned` to an associated type. This is somewhat less flexible, in that each borrowed type must have a unique owned type, but leads to a significant simplification for `Cow`. Flexibility can be regained by using newtyped slices, which is advisable for other reasons anyway. * It removes the owned type parameter from `Cow`, making the type much less verbose. * Deprecates the `is_owned` and `is_borrowed` predicates in favor of direct matching. The above API changes are relatively minor; the basic functionality remains the same, and essentially the whole module is now marked `#[stable]`. [breaking-change]
Configuration menu - View commit details
-
Copy full SHA for a99e698 - Browse repository at this point
Copy the full SHA a99e698View commit details -
Configuration menu - View commit details
-
Copy full SHA for 365bd9a - Browse repository at this point
Copy the full SHA 365bd9aView commit details -
rollup merge of rust-lang#22210: aturon/stab-final-borrow
Conflicts: src/libcollections/btree/map.rs src/libcollections/str.rs src/libcollections/vec.rs src/libcore/borrow.rs src/libcore/hash/mod.rs src/libstd/collections/hash/map.rs src/libstd/collections/hash/set.rs
Configuration menu - View commit details
-
Copy full SHA for 2cdbd28 - Browse repository at this point
Copy the full SHA 2cdbd28View commit details -
rollup merge of rust-lang#22502: nikomatsakis/deprecate-bracket-bracket
Conflicts: src/libcollections/slice.rs src/libcollections/str.rs src/librustc/middle/lang_items.rs src/librustc_back/rpath.rs src/librustc_typeck/check/regionck.rs src/libstd/ffi/os_str.rs src/libsyntax/diagnostic.rs src/libsyntax/parse/parser.rs src/libsyntax/util/interner.rs src/test/run-pass/regions-refcell.rs
Configuration menu - View commit details
-
Copy full SHA for 231eeaa - Browse repository at this point
Copy the full SHA 231eeaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e7a04c - Browse repository at this point
Copy the full SHA 3e7a04cView commit details -
rollup merge of rust-lang#22286: nikomatsakis/variance-4b
Conflicts: src/librustc/middle/infer/combine.rs src/librustc_typeck/check/wf.rs
Configuration menu - View commit details
-
Copy full SHA for 1506b34 - Browse repository at this point
Copy the full SHA 1506b34View commit details
Commits on Feb 19, 2015
-
Configuration menu - View commit details
-
Copy full SHA for d6e939a - Browse repository at this point
Copy the full SHA d6e939aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 63f51ee - Browse repository at this point
Copy the full SHA 63f51eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for b7c0813 - Browse repository at this point
Copy the full SHA b7c0813View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8d35de - Browse repository at this point
Copy the full SHA b8d35deView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb29c46 - Browse repository at this point
Copy the full SHA cb29c46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cd54b8 - Browse repository at this point
Copy the full SHA 0cd54b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 163be75 - Browse repository at this point
Copy the full SHA 163be75View commit details