summary refs log tree commit diff
path: root/src/librustc/lib.rs
AgeCommit message (Collapse)AuthorLines
2018-04-21Revert stabilization of `feature(never_type)`.Felix S. Klock II-0/+1
This commit is just covering the feature gate itself and the tests that made direct use of `!` and thus need to opt back into the feature. A follow on commit brings back the other change that motivates the revert: Namely, going back to the old rules for falling back to `()`.
2018-03-29Stabilize underscore lifetimesTaylor Cramer-1/+1
2018-03-28Stabilize match_default_bindingsTaylor Cramer-1/+1
This includes a submodule update to rustfmt in order to allow a stable feature declaration.
2018-03-26Stabilize i128 feature tooMark Mansi-2/+1
2018-03-26Stabilize i128_typeMark Mansi-1/+1
2018-03-26Stabilize conservative_impl_traitTaylor Cramer-1/+1
2018-03-26Stabilize universal_impl_traitTaylor Cramer-1/+1
2018-03-23Stabilize the copy_closures and clone_closures featuresSimon Sapin-1/+1
In addition to the `Fn*` family of traits, closures now implement `Copy` (and similarly `Clone`) if all of the captures do.
2018-03-21work around fallout from these changes in rustcNiko Matsakis-0/+1
2018-03-15Keep the fields of RangeInclusive unstable.kennytm-0/+1
2018-03-15Stabilize `inclusive_range_syntax` language feature.kennytm-1/+1
Stabilize the syntax `a..=b` and `..=b`.
2018-03-15Stabilize `inclusive_range` library feature.kennytm-1/+0
Stabilize std::ops::RangeInclusive and std::ops::RangeInclusiveTo.
2018-03-14stabilise feature(never_type)Andrew Cann-1/+1
Replace feature(never_type) with feature(exhaustive_patterns). feature(exhaustive_patterns) only covers the pattern-exhaustives checks that used to be covered by feature(never_type)
2018-03-13add `canonicalize` method to `InferCtxt` [VIC]Niko Matsakis-1/+1
2018-03-13improve TypeFoldable/Lift macros and make a bunch of stuff use themNiko Matsakis-0/+1
Improvements: - Use Clone not Copy for the "simple cases" - Separate TypeFoldable and Lift for the "simple cases" - Support generics type parameters - Support named fields in enum variants - etc
2018-03-08Add a variant to ConstVal for storing miri resultsOliver Schneider-0/+1
2018-03-02Remove allow(bare_trait_object) from librustcManish Goregaokar-2/+0
2018-02-28Rollup merge of #48461 - Manishearth:epoch-dyn-trait, r=nmatsakisManish Goregaokar-0/+2
Fixes #47311. r? @nrc
2018-02-28Rollup merge of #48479 - mark-i-m:rustc-guide, r=nikomatsakiskennytm-2/+3
Start moving to the rustc guide! r? @nikomatsakis cc #48478
2018-02-25Change links to readmesMark Mansi-2/+3
2018-02-23Rollup merge of #47933 - Zoxc:plugin-panics, r=nikomatsakisManish Goregaokar-0/+3
Do not run the default panic hook inside procedural macros. Fixes #47812 r? @nikomatsakis
2018-02-23Lint bare traitsManish Goregaokar-0/+2
2018-02-23Auto merge of #48052 - eddyb:deggregate, r=nikomatsakisbors-0/+1
rustc_mir: handle all aggregate kinds in, and always run, the deaggregator. This helps with removing`Rvalue::Aggregate` from the MIR, and with enabling more optimizations. r? @nikomatsakis
2018-02-20Do not run the default panic hook inside procedural macros. Fixes #47812John Kåre Alsaker-0/+3
2018-02-20stage0 cfg cleanupMark Simulacrum-1/+0
2018-02-20rustc_mir: optimize the deaggregator's expansion of statements.Eduard-Mihai Burtescu-0/+1
2018-02-05Add -ZepochManish Goregaokar-0/+1
2018-02-01Auto merge of #47738 - nikomatsakis:issue-47139-master, r=arielb1bors-0/+1
remove intercrate ambiguity hints The scheme was causing overflows during coherence checking (e.g. #47139). This is sort of a temporary fix; the proper fix I think involves reworking trait selection in deeper ways. cc @sgrif -- this *should* fix diesel cc @qnighy -- I'd like to discuss you with alternative techniques for achieving the same end. =) Actually, it might be good to put some energy into refactoring traits first. r? @eddyb
2018-01-30make `overlapping_impls` call closures instead of returningNiko Matsakis-0/+1
2018-01-16Implement repr(transparent)Robin Kruppe-0/+1
2018-01-10Use the new fs_read_write functions in rustc internalsMatt Brubeck-0/+1
2018-01-04rustc: Don't use relative paths for extended errorsAlex Crichton-0/+1
These no longer work now that Cargo changes the cwd of rustc while it's running. Instead use an absolute path that's set by rustbuild.
2017-12-20Move MirVisitable to visit.rsSantiago Pastorino-0/+1
2017-12-18Refactor paths to middle::trans to mir::monoMaik Klein-1/+0
2017-12-17Add sync module to rustc_data_structuresJohn Kåre Alsaker-1/+0
2017-12-14Move mir validation out of treeOliver Schneider-1/+0
2017-12-12Move large chunks of miri from rustc::mir::interpret to rustc_mir::interpretOliver Schneider-3/+0
2017-12-06Update miri to rustc changesOliver Schneider-5/+14
2017-09-29Adjust imports to librustc::mir::interpretOliver Schneider-0/+8
2017-09-24move unsafety checking to MIRAriel Ben-Yehuda-1/+0
No functional changes intended.
2017-09-19rework the README.md for rustc and add other readmesNiko Matsakis-1/+22
This takes way longer than I thought it would. =)
2017-09-18Auto merge of #44441 - tamird:cargo-bitflags, r=alexcrichtonbors-1/+1
Remove rustc_bitflags; use the bitflags crate r? @alexcrichton
2017-09-17Remove rustc_bitflags; use the bitflags crateTamir Duberstein-1/+1
2017-09-17rustc: Make trans collect/partition a queryAlex Crichton-0/+1
This commit moves the `collect_and_partition_translation_items` function into a query on `TyCtxt` instead of a free function in trans, allowing us to track dependencies and such of the function.
2017-09-17rustc: Calculate `ExportedSymbols` in a queryAlex Crichton-0/+1
This commit moves the definition of the `ExportedSymbols` structure to the `rustc` crate and then creates a query that'll be used to construct the `ExportedSymbols` set. This in turn uses the reachablity query exposed in the previous commit.
2017-09-16change #![feature(const_fn)] to specific gatesAlex Burka-1/+3
2017-09-02stabilize mem::discriminant (closes #24263)Alex Burka-2/+0
2017-08-27Add missing dependency for WindowsTatsuyuki Ishi-0/+3
2017-08-27Move unused-extern-crate to late passTatsuyuki Ishi-2/+2
2017-08-25*: remove crate_{name,type} attributesTamir Duberstein-3/+0
Fixes #41701.