| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-05-22 | only try to suggest for try trait_ref | csmoe | -0/+1 | |
| 2020-05-07 | rewrite Drop documentation | Bastian Kauschke | -44/+98 | |
| 2020-04-25 | Bump bootstrap compiler | Mark Rousskov | -3/+2 | |
| 2020-04-13 | Remove the last remnant of unsigned Neg | Josh Stone | -17/+4 | |
| It's been gone since #23945, before Rust 1.0. The former wrapping semantics have also been available as inherent methods for a long time now. There's no reason to keep this unused macro around. | ||||
| 2020-04-05 | Stop importing the float modules. Use assoc consts | Linus Färnstrand | -12/+0 | |
| 2020-04-03 | Replace float module consts with assoc consts in documentation | Linus Färnstrand | -6/+4 | |
| 2020-03-26 | permit negative impls for non-auto traits | Niko Matsakis | -0/+4 | |
| 2020-03-23 | #[track_caller] on core::ops::{Index, IndexMut}. | Adam Perry | -0/+2 | |
| 2020-03-19 | Removed unused `Hasher` import. | CDirkx | -1/+1 | |
| 2020-03-19 | Derive PartialEq, Eq and Hash for RangeInclusive | CDirkx | -21/+1 | |
| The manual implementation of PartialEq, Eq and Hash for RangeInclusive was functionally equivalent to a derived implementation. This change removes the manual implementation and adds the respective derives. A side effect of this change is that the derives also add implementations for StructuralPartialEq and StructuralEq, which enables RangeInclusive to be used in const generics. | ||||
| 2020-03-15 | Bump the bootstrap compiler | Jonas Schievink | -29/+2 | |
| 2020-03-10 | Make Point `Copy` in arithmetic documentation | Florian Gilcher | -6/+6 | |
| Small composite types like `Point { x: i32, y: i32}` are plain old data and we should encourage users to derive `Copy` on them. This changes the semantics of the edited examples slightly: instead of consuming the operands during addition, it will copy them. This is desired behaviour. Co-Authored-By: Jake Goulding <shepmaster@mac.com> | ||||
| 2020-02-08 | Remove problematic specialization from RangeInclusive | CAD97 | -31/+14 | |
| 2020-02-08 | Auto merge of #68358 - matthewjasper:spec-fix, r=nikomatsakis | bors | -23/+15 | |
| Remove some unsound specializations This removes the unsound and exploitable specializations in the standard library * The `PartialEq` and `Hash` implementations for `RangeInclusive` are changed to avoid specialization. * The `PartialOrd` specialization for slices now specializes on a limited set of concrete types. * Added some tests for the soundness problems. | ||||
| 2020-02-02 | Add a resume type parameter to `Generator` | Jonas Schievink | -4/+31 | |
| 2020-02-01 | Remove some unsound specializations | Matthew Jasper | -23/+15 | |
| 2019-12-26 | Convert collapsed to shortcut reference links | Matthew Kraai | -4/+4 | |
| 2019-12-23 | Document that calling Drop, even after it panics, is UB | Mark Rousskov | -0/+6 | |
| 2019-12-22 | Rollup merge of #67480 - rossmacarthur:fix-41260-avoid-issue-0-part-2, r=Centril | Mazdak Farrokhzad | -10/+10 | |
| Require issue = "none" over issue = "0" in unstable attributes These changes make the use of `issue = "none"` required in unstable attributes throughout the compiler. Notes: - #66299 is now in beta so `issue = "none"` is accepted. - The `tidy` tool now fails on `issue = "0"`. - Tests that used `issue = "0"` were changed to use `issue = "none"`, except for _one_ that asserts `issue = "0"` can still be used. - The compiler still allows `issue = "0"` because some submodules require it, this could be disallowed once these are updated. Resolves #41260 r? @varkor | ||||
| 2019-12-21 | Document privacy of RangeInclusive fields | Mark Rousskov | -0/+5 | |
| 2019-12-21 | Require issue = "none" over issue = "0" in unstable attributes | Ross MacArthur | -10/+10 | |
| 2019-12-18 | Propagate cfg bootstrap | Mark Rousskov | -28/+19 | |
| 2019-12-13 | Require stable/unstable annotations for the constness of all stable ↵ | Oliver Scherer | -0/+9 | |
| functions with a `const` modifier | ||||
| 2019-12-06 | Format libcore with rustfmt (including tests and benches) | David Tolnay | -14/+22 | |
| 2019-12-03 | Rollup merge of #66651 - Areredify:on-unimplemented-scope, r=davidtwco | Mazdak Farrokhzad | -3/+4 | |
| Add `enclosing scope` parameter to `rustc_on_unimplemented` Adds a new parameter to `#[rustc_on_unimplemented]`, `enclosing scope`, which highlights the function or closure scope with a message. The wip part refers to adding this annotation to `Try` trait to improve ergonomics (which I don't know how to do since I change both std and librustc) Closes #61709. | ||||
| 2019-11-26 | Format libcore with rustfmt | David Tolnay | -136/+180 | |
| This commit applies rustfmt with default settings to files in src/libcore *that are not involved in any currently open PR* to minimize merge conflicts. The list of files involved in open PRs was determined by querying GitHub's GraphQL API with this script: https://gist.github.com/dtolnay/aa9c34993dc051a4f344d1b10e4487e8 With the list of files from the script in `outstanding_files`, the relevant commands were: $ find src/libcore -name '*.rs' | xargs rustfmt --edition=2018 $ rg libcore outstanding_files | xargs git checkout -- Repeating this process several months apart should get us coverage of most of the rest of libcore. | ||||
| 2019-11-25 | added enclosing_scope attr to Try trait and fixed ui tests accordingly | Mikhail Babenko | -3/+4 | |
| 2019-11-16 | Suggest borrowing when it would satisfy an unmet trait bound | Esteban Küber | -4/+0 | |
| When there are multiple implementors for the same trait that is present in an unmet binding, modify the E0277 error to refer to the parent obligation and verify whether borrowing the argument being passed in would satisfy the unmet bound. If it would, suggest it. | ||||
| 2019-11-12 | Snap cfgs | Mark Rousskov | -15/+2 | |
| 2019-11-01 | Rollup merge of #65902 - gilescope:issue62570, r=estebank | Tyler Mandry | -2/+15 | |
| Make ItemContext available for better diagnositcs Fix #62570 | ||||
| 2019-10-30 | Make ItemContext available for better diagnositcs. | Giles Cope | -2/+15 | |
| 2019-10-20 | Remove leading :: from paths in doc examples | Mikko Rantanen | -1/+1 | |
| 2019-08-24 | Added an extra line to make the formatting conform to the rest of the document. | Christian | -0/+1 | |
| 2019-08-24 | Removed the confusing FnOnce example. closes #47091 | Christian | -9/+0 | |
| 2019-07-25 | Add note suggesting to borrow a String argument to find | Esteban Küber | -0/+4 | |
| 2019-07-11 | hygiene: Fix wording of desugaring descriptions | Vadim Petrochenkov | -2/+2 | |
| Use variant names rather than descriptions for identifying desugarings in `#[rustc_on_unimplemented]`. Both are highly unstable, but variant name is at least a single identifier. | ||||
| 2019-07-01 | Remove needless lifetimes | Jeremy Stucki | -2/+2 | |
| 2019-06-15 | Remove the default type of `Rem::Output` | Jonas Schievink | -1/+1 | |
| 2019-06-06 | Rollup merge of #61376 - czipperz:bound-cloned, r=sfackler | Mazdak Farrokhzad | -0/+23 | |
| Add Bound::cloned() Suggested by #61356 | ||||
| 2019-06-05 | Remove dereference | Chris Gregory | -1/+1 | |
| Co-Authored-By: Steven Fackler <sfackler@gmail.com> | ||||
| 2019-06-05 | Take self by value (Self is Copy here) | Chris Gregory | -1/+1 | |
| 2019-06-05 | Aggregation of drive-by cosmetic changes. | Alexander Regueiro | -1/+1 | |
| 2019-06-01 | Enable feature bound_cloned for tests | Chris Gregory | -0/+1 | |
| 2019-05-31 | Make Bound::cloned public | Chris Gregory | -1/+1 | |
| 2019-05-30 | Fix compilation errors | Chris Gregory | -2/+2 | |
| 2019-05-30 | Add Bound::cloned() | Chris Gregory | -0/+22 | |
| 2019-05-30 | Fix links in Deref documentation | Guillaume Gomez | -6/+6 | |
| 2019-04-22 | Remove double trailing newlines | varkor | -1/+0 | |
| 2019-04-19 | libcore: deny more... | Mazdak Farrokhzad | -6/+6 | |
| 2019-04-18 | libcore => 2018 | Taiki Endo | -5/+5 | |
