| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -882/+0 | |
| 2023-01-04 | Move tests | Caio | -0/+39 | |
| 2022-11-18 | rustc_codegen_ssa: Fix for codegen_get_discr | Michael Benfield | -0/+36 | |
| When doing the optimized implementation of getting the discriminant, the arithmetic needs to be done in the tag type so wrapping behavior works correctly. Fixes #104519 | ||||
| 2022-11-12 | Move tests | Caio | -0/+30 | |
| 2022-11-11 | rustc_codegen_ssa: Better code generation for niche discriminants. | Michael Benfield | -0/+114 | |
| In some cases we can avoid arithmetic before checking whether a niche represents an untagged variant. This is relevant to #101872 | ||||
| 2022-10-22 | Bless tests | Deadbeef | -1/+1 | |
| 2022-10-22 | Stabilize arbitrary_enum_discriminant, take 2 | Deadbeef | -53/+6 | |
| 2022-10-01 | bless ui tests | Maybe Waffle | -4/+4 | |
| 2022-08-03 | Warn about dead tuple struct fields | Fabian Wolff | -1/+3 | |
| 2022-07-15 | Make item spans more consistent | Michael Goulet | -7/+2 | |
| 2022-06-01 | update explicit impls error msg | lcnr | -1/+1 | |
| 2021-12-01 | Disallow non-c-like but "fieldless" ADTs from being casted to integer... | Gary Guo | -13/+0 | |
| ... if they use arbitrary enum discriminant. Code like ```rust enum Enum { Foo = 1, Bar(), Baz{} } ``` seems to be unintentionally allowed so we couldn't disallow them now, but we could disallow them if arbitrary enum discriminant is used before 1.56 hits stable. | ||||
| 2021-11-13 | Auto merge of #89551 - jhpratt:stabilize-const_raw_ptr_deref, r=oli-obk | bors | -1/+1 | |
| Stabilize `const_raw_ptr_deref` for `*const T` This stabilizes dereferencing immutable raw pointers in const contexts. It does not stabilize `*mut T` dereferencing. This is behind the same feature gate as mutable references. closes https://github.com/rust-lang/rust/issues/51911 | ||||
| 2021-11-06 | Stabilize `const_raw_ptr_deref` for `*const T` | Jacob Pratt | -1/+1 | |
| This stabilizes dereferencing immutable raw pointers in const contexts. It does not stabilize `*mut T` dereferencing. This is placed behind the `const_raw_mut_ptr_deref` feature gate. | ||||
| 2021-11-06 | Move some tests to more reasonable directories | Caio | -0/+18 | |
| 2021-10-19 | Fix issue 90038 | Gary Guo | -0/+21 | |
| 2021-10-14 | Revert "Stabilize `arbitrary_enum_discriminant`" | Mark Rousskov | -7/+54 | |
| This reverts commit 7a62f29f3171767090949778ce0f161e930706b9. | ||||
| 2021-10-11 | Add enum_intrinsics_non_enums lint | Flying-Toast | -0/+3 | |
| 2021-10-04 | Stabilize `const_panic` | Jacob Pratt | -2/+0 | |
| 2021-09-13 | enum niche allocation grows toward zero if possible | Andreas Liljeqvist | -0/+14 | |
| 2021-08-30 | `feature(const_generics)` -> `feature(const_param_types)` | lcnr | -3/+3 | |
| 2021-08-30 | rename const_evaluatable_checked to generic_const_exprs | Ellen | -3/+3 | |
| :sparkles: | ||||
| 2021-07-28 | Stabilize `arbitrary_enum_discriminant` | Deadbeef | -54/+7 | |
| 2021-05-01 | Add help message for unused type param | kadmin | -0/+1 | |
| 2021-01-16 | Move some tests to more reasonable directories - 2 | Caio | -0/+25 | |
| Address comments Update limits | ||||
| 2020-12-26 | update tests | Bastian Kauschke | -20/+19 | |
| 2020-10-21 | Mark `repr128` as `incomplete_features` | varkor | -0/+36 | |
| 2020-09-08 | add tracking issue, fix rebase | Bastian Kauschke | -1/+1 | |
| 2020-09-08 | convert to future compat lint | Bastian Kauschke | -5/+9 | |
| 2020-09-08 | make `ConstEvaluatable` more strict | Bastian Kauschke | -2/+11 | |
| 2020-09-02 | pretty: trim paths of unique symbols | Dan Aloni | -1/+1 | |
| If a symbol name can only be imported from one place for a type, and as long as it was not glob-imported anywhere in the current crate, we can trim its printed path and print only the name. This has wide implications on error messages with types, for example, shortening `std::vec::Vec` to just `Vec`, as long as there is no other `Vec` importable anywhere. This adds a new '-Z trim-diagnostic-paths=false' option to control this feature. On the good path, with no diagnosis printed, we should try to avoid issuing this query, so we need to prevent trimmed_def_paths query on several cases. This change also relies on a previous commit that differentiates between `Debug` and `Display` on various rustc types, where the latter is trimmed and presented to the user and the former is not. | ||||
| 2020-06-28 | Update tests | Dylan MacKenzie | -1/+0 | |
| 2020-06-10 | Migrate to numeric associated consts | Lzu Tao | -9/+9 | |
| 2020-05-19 | add test for repr(128) enum derives | Bastian Kauschke | -0/+17 | |
| 2020-05-19 | add tests for enum discriminants | Bastian Kauschke | -0/+169 | |
| 2020-05-19 | update `discriminant_value` usage in tests | Bastian Kauschke | -12/+12 | |
| 2020-05-02 | typeck: always expose explicit enum discriminant `AnonConst`s' parent in ↵ | Eduard-Mihai Burtescu | -0/+79 | |
| `generics_of`. | ||||
| 2020-02-09 | --bless --compare-mode=nll | Matthias Prechtl | -3/+3 | |
| 2019-11-21 | Reorganize, bless and add tests for const control flow | Dylan MacKenzie | -0/+112 | |
| This creates a new test directory, `ui/consts/control-flow` to hold tests related to control flow in a const context. It also blesses all existing tests with the new error messages, and adds new tests for the `const_if_match` feature. | ||||
| 2019-11-06 | Rebase fallout | Oliver Scherer | -24/+21 | |
| 2019-07-09 | normalize use of backticks in compiler messages for libsyntax/feature_gate | Samy Kacimi | -3/+3 | |
| https://github.com/rust-lang/rust/issues/60532 | ||||
| 2019-06-21 | Implement arbitrary_enum_discriminant | John Wrenn | -0/+225 | |
