| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-10-27 | Accept `TyCtxt` instead of `TyCtxtAt` in `Ty::is_*` functions | Maybe Waffle | -2/+2 | |
| Functions in answer: - `Ty::is_freeze` - `Ty::is_sized` - `Ty::is_unpin` - `Ty::is_copy_modulo_regions` | ||||
| 2022-10-23 | Migrate all diagnostics | Nilstrieb | -3/+3 | |
| 2022-10-07 | First batch of review feedback changes from #102110 | Nathan Stocks | -1/+20 | |
| 2022-10-04 | It's not about types or consts, but the lack of regions | Oli Scherer | -2/+2 | |
| 2022-10-03 | Move utils from rustc_middle to rustc_ty_utils | Cameron Steffen | -2334/+5 | |
| 2022-09-24 | fix lifetime error | Ellis Hoag | -2/+8 | |
| 2022-09-24 | rebase and update trait names | Ellis Hoag | -5/+3 | |
| 2022-09-24 | impl SessionDiagnostic for LayoutError and Spanned<T> | Ellis Hoag | -1/+10 | |
| 2022-09-19 | extend polymorphization hack comment. | lcnr | -0/+2 | |
| 2022-09-19 | remove the `Subst` trait, always use `EarlyBinder` | lcnr | -1/+0 | |
| 2022-09-19 | do not implement type traversal for `EarlyBinder` | lcnr | -1/+4 | |
| 2022-09-13 | Address code review comments | Eric Holk | -6/+5 | |
| 2022-09-12 | Make dyn-trait-method work | Michael Goulet | -3/+16 | |
| 2022-09-12 | Rename some variants | Michael Goulet | -7/+4 | |
| 2022-09-12 | Construct dyn* during const interp | Michael Goulet | -8/+2 | |
| 2022-09-12 | Call destructors when dyn* object goes out of scope | Eric Holk | -3/+12 | |
| 2022-09-12 | dyn* through more typechecking and MIR | Eric Holk | -2/+24 | |
| 2022-09-12 | Plumb dyn trait representation through ty::Dynamic | Eric Holk | -1/+2 | |
| 2022-09-07 | Use niche-filling optimization even when multiple variants have data. | Michael Benfield | -116/+198 | |
| Fixes #46213 | ||||
| 2022-09-07 | Change name of "dataful" variant to "untagged" | Michael Benfield | -10/+10 | |
| This is in anticipation of a new enum layout, in which the niche optimization may be applied even when multiple variants have data. | ||||
| 2022-09-04 | Make `const_eval_select` a real intrinsic | Deadbeef | -86/+89 | |
| 2022-08-31 | Fix a bunch of typo | Dezhi Wu | -1/+1 | |
| This PR will fix some typos detected by [typos]. I only picked the ones I was sure were spelling errors to fix, mostly in the comments. [typos]: https://github.com/crate-ci/typos | ||||
| 2022-08-27 | Auto merge of #100999 - nnethercote:shrink-FnAbi, r=bjorn3 | bors | -2/+2 | |
| Shrink `FnAbi` Because they can take up a lot of memory in debug and release builds. r? `@bjorn3` | ||||
| 2022-08-26 | Change `FnAbi::args` to a boxed slice. | Nicholas Nethercote | -1/+1 | |
| 2022-08-26 | Change `FnAbi::fixed_count` to a `u32`. | Nicholas Nethercote | -1/+1 | |
| 2022-08-24 | add `depth_limit` in `QueryVTable` | SparrowLii | -36/+25 | |
| 2022-08-01 | move layout sanity check to its own file | Ralf Jung | -290/+4 | |
| 2022-08-01 | tighter checks for (some) ScalarPair layouts | Ralf Jung | -16/+102 | |
| 2022-08-01 | check that Scalar layout is newtype around a suitable type | Ralf Jung | -40/+135 | |
| 2022-07-31 | check 'size multiple of align' for all layouts | Ralf Jung | -0/+4 | |
| 2022-07-30 | Fix the size of niche enums with ZST alignment | Josh Stone | -2/+8 | |
| For enums with an aligned ZST variant, like `[T; 0]`, the niche layout was not computing a sufficient size to be consistent with alignment. Now we pad that size up to the alignment, and also make sure to only use the niche variant's ABI when the size and alignment still match. | ||||
| 2022-07-22 | do not mark interior mutable shared refs as dereferenceable | Ralf Jung | -5/+10 | |
| 2022-07-22 | rename PointerKind::Shared → SharedMutable to indicate this is NOT the ↵ | Ralf Jung | -4/+4 | |
| usual shared reference | ||||
| 2022-07-20 | consistently use VTable over Vtable (matching stable stdlib API RawWakerVTable) | Ralf Jung | -1/+1 | |
| 2022-07-19 | Add flag to configure `noalias` on `Box<T>` | nils | -2/+7 | |
| To aid making an informed decision about the aliasing rules of box, give users an option to remove `noalias` from box. | ||||
| 2022-07-16 | Rollup merge of #99342 - TaKO8Ki:avoid-symbol-to-string-conversions, ↵ | Matthias Krüger | -2/+2 | |
| r=compiler-errors Avoid some `Symbol` to `String` conversions This patch removes some Symbol to String conversions. | ||||
| 2022-07-17 | avoid some `Symbol` to `String` conversions | Takayuki Maeda | -2/+2 | |
| 2022-07-13 | Rename `debugging_opts` to `unstable_opts` | Joshua Nelson | -2/+2 | |
| This is no longer used only for debugging options (e.g. `-Zoutput-width`, `-Zallow-features`). Rename it to be more clear. | ||||
| 2022-07-11 | Hide niches in SIMD types, too | Oli Scherer | -6/+1 | |
| 2022-07-11 | More obvious closure name | Oli Scherer | -4/+4 | |
| 2022-07-08 | Create a custom layout path for UnsafeCell instead of piggy backing on the ↵ | Oli Scherer | -21/+39 | |
| layout_scalar_valid_range logic | ||||
| 2022-07-07 | `UnsafeCell` now has no niches, ever. | Oli Scherer | -22/+26 | |
| 2022-07-06 | Rollup merge of #98968 - RalfJung:scalar-sanity, r=oli-obk | Dylan DPC | -3/+2 | |
| assert Scalar sanity With https://github.com/rust-lang/rust/pull/96814 having landed, finally our `Scalar` layouts have the invariants they deserve. :) | ||||
| 2022-07-06 | Auto merge of #98206 - eggyal:align-to-chalk-folding-api, r=jackh726 | bors | -1/+1 | |
| Split TypeVisitable from TypeFoldable Impl of rust-lang/compiler-team#520 following MCP approval. r? `@ghost` | ||||
| 2022-07-06 | Update TypeVisitor paths | Alan Egerton | -1/+1 | |
| 2022-07-05 | finally enable Scalar layout sanity checks | Ralf Jung | -3/+2 | |
| 2022-07-05 | fix the layout of repr(align) enums | Ralf Jung | -3/+3 | |
| 2022-05-30 | Add support for emitting functions with `coldcc` in LLVM | Scott McMurray | -1/+2 | |
| The eventual goal is to try using this for things like the internal panicking stuff, to see whether it helps. | ||||
| 2022-05-22 | Lifetime variance fixes for rustc | Michael Goulet | -1/+1 | |
| 2022-05-17 | Auto merge of #96959 - nbdd0121:unwind, r=Amanieu | bors | -0/+8 | |
| Prevent unwinding when `-C panic=abort` is used regardless declared ABI Ensures that Rust code will abort with `-C panic=abort` regardless ABI used. ```rust extern "C-unwind" { fn may_unwind(); } // Will be nounwind with `-C panic=abort`, despite `C-unwind` ABI. pub unsafe extern "C-unwind" fn rust_item_that_can_unwind() { may_unwind(); } ``` Current behaviour is that unwind will propagate through. While the current behaviour won't cause unsoundness it is inconsistent with the text reading of [RFC2945](https://rust-lang.github.io/rfcs/2945-c-unwind-abi.html). I tweaked `fn_can_unwind` instead of tweaking `AbortUnwindingCalls` because this approach would allow Rust (non-direct) callers to also see that this function is nounwind, so it can prevent excessive landing pads generation. For more discussions: https://rust-lang.zulipchat.com/#narrow/stream/210922-project-ffi-unwind/topic/soundness.20in.20mixed.20panic.20mode. cc `@alexcrichton,` `@BatmanAoD` r? `@Amanieu` `@rustbot` label: T-compiler T-lang F-c_unwind | ||||
