summary refs log tree commit diff
path: root/src/librustc/lib.rs
AgeCommit message (Collapse)AuthorLines
2018-10-07Revert "Auto merge of #53793 - toidiu:ak-stabalize, r=nikomatsakis"Ariel Ben-Yehuda-0/+1
This reverts commit 6810f5286b6b91daab06fc3dccb27d8c46f14349, reversing changes made to 8586ec6980462c99a8926646201b2444d8938d29.
2018-09-21Stabilize crate_in_paths, extern_absolute_paths and extern_prelude on all ↵Eduard-Mihai Burtescu-1/+1
editions.
2018-09-14Auto merge of #54032 - oli-obk:layout_scalar_ranges, r=eddybbors-0/+2
Add forever unstable attribute to allow specifying arbitrary scalar ranges r? @eddyb for the first commit and @nikomatsakis for the second one
2018-09-11stabalize infer outlives requirements (RFC 2093).toidiu-1/+0
Co-authored-by: nikomatsakis
2018-09-11Forbid the upper indices of `IndexVec` indices to allow for niche optimizationsOliver Schneider-0/+2
2018-08-31Restrict most uses of `const_fn` to `min_const_fn`Oliver Schneider-1/+2
2018-08-27Auto merge of #53441 - toidiu:ak-fix53419, r=nikomatsakisbors-0/+1
fix for late-bound regions Fix for https://github.com/rust-lang/rust/issues/53419 r? @nikomatsakis
2018-08-25Auto merge of #53385 - matklad:stabilize-find-map, r=KodrAusbors-1/+0
Stablize Iterator::find_map Stabilization PR for https://github.com/rust-lang/rust/issues/49602
2018-08-24check that adding infer-outlives requirement to all crates worksNiko Matsakis-0/+1
2018-08-23Auto merge of #53384 - gootorov:use-servo-smallvec, r=michaelwoeristerbors-0/+3
Use optimized SmallVec implementation This PR replaces current SmallVec implementation with the one from the Servo project. Closes https://github.com/rust-lang/rust/issues/51640 r? @Mark-Simulacrum
2018-08-23Auto merge of #52602 - scottmcm:tryblock-expr, r=nikomatsakisbors-1/+0
Implement try block expressions I noticed that `try` wasn't a keyword yet in Rust 2018, so... ~~Fix​es https://github.com/rust-lang/rust/issues/52604~~ That was fixed by PR https://github.com/rust-lang/rust/pull/53135 cc https://github.com/rust-lang/rust/issues/31436 https://github.com/rust-lang/rust/issues/50412
2018-08-23Use optimized SmallVec implementationIgor Gutorov-0/+3
2018-08-19Rename `catch_expr` feature to `try_blocks`Scott McMurray-1/+0
2018-08-19Stabilize macro_vis_matcherJakub Kozlowski-1/+1
2018-08-15Stablize Iterator::find_mapAleksey Kladov-1/+0
2018-08-15Auto merge of #52928 - Mark-Simulacrum:borrowck-cleanup, r=cramertjbors-1/+0
(old) borrowck cleanup Primarily moves dataflow code based on CFG to borrowck; this is mostly so we don't forget to delete it once it becomes unused after we fully move to MIR borrowck.
2018-08-12Rollup merge of #53230 - memoryruins:nll_bootstrap_4, r=nikomatsakisGuillaume Gomez-0/+1
[nll] enable feature(nll) on various crates for bootstrap: part 4 #53172 r? @nikomatsakis
2018-08-09Move span_bug and bug helper functions to utilMark Rousskov-0/+1
2018-08-09Move Fingerprint to data structuresMark Rousskov-0/+1
2018-08-09Move rustc::util::fs into separate (new) crateMark Rousskov-1/+1
2018-08-09[nll] librustc: enable feature(nll) for bootstrapmemoryruins-0/+1
2018-08-06Auto merge of #53016 - scottmcm:impl-header-lifetime-elision, r=nikomatsakisbors-0/+1
Extract impl_header_lifetime_elision out of in_band_lifetimes This way we can experiment with `impl Debug for &MyType` separately from `impl Debug for &'a MyType`. I can't say I know what the code in here is doing, so please let me know if there's a better way :slightly_smiling_face: I marked this as enabled in 2018 so that edition code continues to work without another flag. Actual feature PR https://github.com/rust-lang/rust/pull/49251; Tracking Issue https://github.com/rust-lang/rust/issues/15872; In-band lifetimes tracking issue https://github.com/rust-lang/rust/issues/44524. cc @aturon, per discussion on discord earlier cc @cramertj & @nikomatsakis, who actually wrote these features
2018-08-05Remove unnecessary feature attributes that sneaked invarkor-3/+0
2018-08-05Add lint for unknown feature attributesvarkor-0/+1
2018-08-03Fix the stage1 buildScott McMurray-0/+1
2018-08-02Basic profilingWesley Wiser-0/+1
2018-07-31Move dataflow to borrowckMark Rousskov-1/+0
No one else uses it.
2018-07-29Sanity-check all constantsOliver Schneider-0/+1
2018-07-27Auto merge of #52336 - ishitatsuyuki:dyn-rollup, r=Mark-Simulacrumbors-2/+0
Rollup of bare_trait_objects PRs All deny attributes were moved into bootstrap so they can be disabled with a line of config. Warnings for external tools are allowed and it's up to the tool's maintainer to keep it warnings free. r? @Mark-Simulacrum cc @ljedrz @kennytm
2018-07-25Deny bare_trait_objects globallyTatsuyuki Ishi-2/+0
2018-07-25implement `Step` for `Idx` typesNiko Matsakis-0/+1
This way, we can iterate over a `Range<T>` where `T: Idx`
2018-07-11Deny bare trait objects in in src/librustcljedrz-0/+2
2018-07-07Move time_graph.rs to rustc/utilbjorn3-0/+1
2018-06-30Auto merge of #51717 - Mark-Simulacrum:snap, r=alexcrichtonbors-1/+0
Bootstrap from 1.28.0 beta
2018-06-30Bootstrap from 1.28.0-beta.3Mark Simulacrum-1/+0
2018-06-28Move everything over from `middle::const_val` to `mir::interpret`Oliver Schneider-1/+0
2018-06-10Stabilize entry-or-defaultGuillaume Gomez-1/+0
2018-06-06Make queries block and handle query cyclesJohn Kåre Alsaker-0/+5
2018-06-01Make const decoding from the incremental cache thread-safe.Michael Woerister-0/+1
2018-05-28introduce `shifted_in`, `shifted_out` and friendsNiko Matsakis-0/+1
Co-authored-by: csmoe <35686186+csmoe@users.noreply.github.com>
2018-05-28Auto merge of #50612 - Zoxc:thin-slice, r=michaelwoeristerbors-0/+1
Make &Slice a thin pointer Split out from https://github.com/rust-lang/rust/pull/50395 r? @michaelwoerister
2018-05-27Make anon params lint warn-by-defaultMark Mansi-0/+1
2018-05-27Make &Slice a thin pointerJohn Kåre Alsaker-0/+1
2018-05-26Rollup merge of #51047 - spastorino:use_polonius_engine_facts, r=nikomatsakiskennytm-0/+1
Use AllFacts from polonius-engine
2018-05-25Auto merge of #50967 - oli-obk:miri_api_refactor, r=eddybbors-0/+1
Miri api refactor r? @eddyb cc @Zoxc based on https://github.com/rust-lang/rust/pull/50916
2018-05-24Use AllFacts from polonius-engineSantiago Pastorino-0/+1
2018-05-24Use in-band-lifetimes instead of unused explicit lifetimesOliver Schneider-0/+1
2018-05-24implement the chalk traits, albeit with many placeholdersNiko Matsakis-0/+1
2018-05-17Stabilise inclusive_range_methodsvarkor-1/+0
2018-05-17Switch to 1.26 bootstrap compilerMark Simulacrum-1/+0