summary refs log tree commit diff
path: root/src/librustc/lib.rs
AgeCommit message (Collapse)AuthorLines
2018-11-29Rollup merge of #56257 - mark-i-m:rustc-guide-links, r=nikomatsakisGuillaume Gomez-1/+1
rustc-guide has moved to rust-lang/ r? @nikomatsakis
2018-11-27remove uses of feature gateMark Mansi-1/+0
2018-11-26rustc-guide has movedMark Mansi-1/+1
2018-10-31Bump nightly to 1.32.0Alex Crichton-2/+0
* Also update the bootstrap compiler * Update cargo to 1.32.0 * Clean out stage0 annotations
2018-10-19Stabilize impl_header_lifetime_elision in 2015Scott McMurray-1/+1
It's already stable in 2018; this finishes the stabilization.
2018-10-14create only one vector when winnowing candidatesljedrz-0/+1
2018-10-05Stabilize `min_const_fn`Oliver Schneider-1/+1
2018-09-29don't elide lifetimes in paths in librustc/Zack M. Davis-0/+2
This seemed like a good way to kick the tires on the elided-lifetimes-in-paths lint (#52069)—seems to work! This was also pretty tedious—it sure would be nice if `cargo fix` worked on this codebase (#53896)!
2018-09-27Bump to 1.31.0 and bootstrap from 1.30 betaJosh Stone-7/+3
2018-09-22Stabilize 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