about summary refs log tree commit diff
path: root/compiler/rustc_middle
AgeCommit message (Expand)AuthorLines
2020-11-04Make `ScalarInt` entirely independent of MIR interpretationoli-4/+3
2020-11-04Document an `unwrap`oli-1/+4
2020-11-04`u128` truncation and sign extension are not just interpreter relatedoli-49/+15
2020-11-04Move ZST constant to the top of the impl blockoli-2/+2
2020-11-04Update compiler/rustc_middle/src/ty/consts/int.rsOli Scherer-1/+1
2020-11-04Simplify `assert_bits` imploli-4/+3
2020-11-04Do not raise interp errors from the scalar int moduleoli-20/+23
2020-11-04Add helper for getting an `int` out of a `Scalar`oli-0/+8
2020-11-04Add `is_null` helperoli-0/+5
2020-11-04Explain why we forward to self-printing during self-printingoli-1/+2
2020-11-04catch conversion errors during `ptr_sized_op`oli-1/+1
2020-11-04Replace `Scalar::zst` with a `Scalar::ZST` constantoli-6/+3
2020-11-04No need for a `zst` constructor method when we can have a constantoli-6/+1
2020-11-04Update commentoli-3/+2
2020-11-04Unaligned reads are UB in Rust irrelevant on which platform we areoli-4/+4
2020-11-04Remove outdated FIXMEoli-1/+0
2020-11-04s/Scalar::Raw/Scalar::Intoli-32/+32
2020-11-04Fix cranelift buildoli-0/+14
2020-11-04Explain the use of blocks around `self.data` accessesoli-0/+14
2020-11-04Use packed struct instead of manually packing into an arrayoli-36/+39
2020-11-04Encode `ScalarInt::bytes` as `u128` instead of `[u8; 16]` to see if that caus...Oliver Scherer-1/+15
2020-11-04Split the "raw integer bytes" part out of `Scalar`Oliver Scherer-137/+278
2020-11-03Auto merge of #76931 - oli-obk:const_prop_inline_lint_madness, r=wesleywiserbors-1/+3
2020-11-03Auto merge of #78697 - JohnTitor:rollup-q0fchpv, r=JohnTitorbors-6/+8
2020-11-03Auto merge of #78448 - rylev:cache-foreign_modules, r=wesleywiserbors-1/+1
2020-11-02Fix ICE when a future-incompat-report has its command-line level cappedAaron Hill-6/+8
2020-11-01Auto merge of #75534 - Aaron1011:feature/new-future-breakage, r=pnkfelixbors-7/+18
2020-10-30Implement rustc side of report-future-incompatAaron Hill-7/+18
2020-10-30Auto merge of #78182 - LeSeulArtichaut:ty-visitor-contolflow, r=lcnr,oli-obkbors-162/+227
2020-10-30Remove implicit `Continue` typeLeSeulArtichaut-78/+72
2020-10-30Use `ControlFlow::is{break,continue}`LeSeulArtichaut-7/+5
2020-10-30TypeVisitor: use `std::ops::ControlFlow` instead of `bool`LeSeulArtichaut-161/+234
2020-10-30Rollup merge of #78545 - jackh726:anonymous, r=oli-obkYuki Okushi-2/+3
2020-10-30Auto merge of #78432 - sexxi-goose:fix-77993-take3, r=nikomatsakisbors-6/+37
2020-10-29Make anonymous binders start at 0Jack Huey-2/+3
2020-10-29Rollup merge of #78244 - workingjubilee:dogfood-fancy-ranges, r=varkorJonas Schievink-5/+7
2020-10-28Dogfood {exclusive,half-open} ranges in compiler (nfc)Jubilee Young-5/+7
2020-10-28Auto merge of #78323 - est31:smaller_list_overlap, r=varkorbors-0/+4
2020-10-28Rollup merge of #78351 - RalfJung:validity-unsafe-cell, r=oli-obkDylan DPC-12/+0
2020-10-27Address commentsRoxane-10/+20
2020-10-27Cache foreign_modules queryRyan Levick-1/+1
2020-10-27Show the inline stack of MIR lints that only occur after inliningOliver Scherer-1/+3
2020-10-27Auto merge of #77502 - varkor:const-generics-suggest-enclosing-braces, r=petr...bors-1/+1
2020-10-27Handle type errors in closure/generator upvar_tysAman Arora-7/+28
2020-10-27Rollup merge of #78219 - JohnTitor:print-def-path, r=estebankYuki Okushi-2/+2
2020-10-26Suggest expressions that look like const generic arguments should be enclosed...varkor-1/+1
2020-10-26Auto merge of #68965 - eddyb:mir-inline-scope, r=nagisa,oli-obkbors-7/+49
2020-10-26interning cleanup: we no longer need to distinguish Const and ConstInner; we ...Ralf Jung-12/+0
2020-10-26Rollup merge of #78214 - estebank:match-semicolon, r=oli-obkDylan DPC-26/+28
2020-10-25Rollup merge of #78326 - Aaron1011:fix/min-stmt-lints, r=petrochenkovYuki Okushi-1/+1