about summary refs log tree commit diff
path: root/src/librustc/util
AgeCommit message (Collapse)AuthorLines
2018-09-14Auto merge of #54032 - oli-obk:layout_scalar_ranges, r=eddybbors-12/+15
Add forever unstable attribute to allow specifying arbitrary scalar ranges r? @eddyb for the first commit and @nikomatsakis for the second one
2018-09-11renamed is_nil to is_unitkenta7777-1/+1
2018-09-11Revert "renamed is_nil to is_unit"kenta7777-1/+1
This reverts commit 6f685ffad42a2d12dd1fad5ccb0471e7fa260826.
2018-09-11Simplify Scope/ScopeData to have less chance of introducing UB or size increasesOliver Schneider-12/+15
2018-09-10renamed is_nil to is_unitkenta7777-1/+1
2018-09-08Auto merge of #53705 - ms2300:tmp, r=oli-obkbors-3/+3
#53576 Renaming TyAnon -> TyOpaque Fixes #53576
2018-09-07make field always private, add `From` implsNiko Matsakis-1/+0
2018-09-05Changing TyAnon -> TyOpaque and relevant functionsms2300-3/+3
2018-08-30Rollup merge of #53786 - frewsxcv:frewsxcv-bad-style, r=ManishearthPietro Albini-2/+2
Replace usages of 'bad_style' with 'nonstandard_style'. `bad_style` is being deprecated in favor of `nonstandard_style`: - https://github.com/rust-lang/rust/issues/41646
2018-08-29Replace usages of 'bad_style' with 'nonstandard_style'.Corey Farwell-2/+2
`bad_style` is being deprecated in favor of `nonstandard_style`: - https://github.com/rust-lang/rust/issues/41646
2018-08-28Use FxHash{Map,Set} instead of the default Hash{Map,Set} everywhere in rustc.Eduard-Mihai Burtescu-3/+3
2018-08-23use String::new() instead of String::from(""), "".to_string(), "".to_owned() ↵Matthias Krüger-2/+2
or "".into()
2018-08-22Remove Ty prefix from Ty{Bool|Char|Int|Uint|Float|Str}varkor-9/+9
2018-08-22Remove Ty prefix from Ty{Foreign|Param}varkor-4/+4
2018-08-22Remove Ty prefix from ↵varkor-24/+24
Ty{Adt|Array|Slice|RawPtr|Ref|FnDef|FnPtr|Dynamic|Closure|Generator|GeneratorWitness|Never|Tuple|Projection|Anon|Infer|Error}
2018-08-22Rename ty::TyVariants to ty::TyKindvarkor-1/+1
2018-08-22Rename ty::Slice to ty::Listvarkor-3/+3
2018-08-19Add Default for GenericParamCountvarkor-4/+1
2018-08-09Move span_bug and bug helper functions to utilMark Rousskov-0/+51
2018-08-09Move path2cstr to rustc_fs_utilMark Rousskov-15/+0
2018-08-09Move rustc::util::fs into separate (new) crateMark Rousskov-111/+0
2018-08-02Generate self-profiler types with macrosWesley Wiser-130/+91
2018-08-02Fix tidyWesley Wiser-12/+25
2018-08-02Remove some dead codeWesley Wiser-17/+1
2018-08-02Include additional data in the json outputWesley Wiser-2/+11
2018-08-02Include query hits/totalsWesley Wiser-3/+10
2018-08-02Refactor json printingWesley Wiser-35/+21
2018-08-02First pass at json outputWesley Wiser-0/+45
2018-08-02Remove redundant s in outputWesley Wiser-1/+1
2018-08-02Switch to markdown outputWesley Wiser-12/+15
2018-08-02Add units to timesWesley Wiser-1/+1
2018-08-02Basic incremental statsWesley Wiser-7/+40
2018-08-02Basic profilingWesley Wiser-0/+207
2018-07-29Remove unused `mut`sMatthew Jasper-1/+1
2018-07-29Auto merge of #52767 - ljedrz:avoid_format, r=petrochenkovbors-1/+1
Prefer to_string() to format!() Simple benchmarks suggest in some cases it can be faster by even 37%: ``` test converting_f64_long ... bench: 339 ns/iter (+/- 199) test converting_f64_short ... bench: 136 ns/iter (+/- 34) test converting_i32_long ... bench: 87 ns/iter (+/- 16) test converting_i32_short ... bench: 87 ns/iter (+/- 49) test converting_str ... bench: 54 ns/iter (+/- 15) test formatting_f64_long ... bench: 349 ns/iter (+/- 176) test formatting_f64_short ... bench: 145 ns/iter (+/- 14) test formatting_i32_long ... bench: 98 ns/iter (+/- 14) test formatting_i32_short ... bench: 93 ns/iter (+/- 15) test formatting_str ... bench: 86 ns/iter (+/- 23) ```
2018-07-29Auto merge of #52764 - sinkuu:cleanup, r=nikomatsakisbors-2/+1
Misc cleanups
2018-07-27Use str::repeatShotaro Yamada-2/+1
2018-07-27Improved mechanism for naming regions in non-annotated types.David Wood-5/+35
2018-07-27Prefer to_string() to format!()ljedrz-1/+1
2018-07-18Implement existential typesOliver Schneider-0/+15
2018-07-07Move time_graph.rs to rustc/utilbjorn3-0/+278
2018-06-30Auto merge of #51806 - oli-obk:lowering_cleanups1, r=cramertjbors-2/+1
Lowering cleanups [1/N]
2018-06-28Rollup merge of #51636 - oli-obk:const_diagnostics, r=eddybMark Rousskov-5/+5
Refactor error reporting of constants cc @eddyb This PR should not change any behaviour. It solely simplifies the internal handling of the errors
2018-06-28Merge `ConstVal` and `ConstValue`Oliver Schneider-5/+5
2018-06-28Move everything over from `middle::const_val` to `mir::interpret`Oliver Schneider-1/+1
2018-06-28Use `Ident`s for associated item definitions in HIRVadim Petrochenkov-2/+2
Remove emulation of hygiene with gensyms
2018-06-27Generate `DefId`s for impl Trait in the def_collectorOliver Schneider-2/+1
2018-06-23add `dyn` to display of dynamic (trait) type namesZack M. Davis-2/+6
The `dyn Trait` syntax was stabilized in 199ee327. Resolves #49277.
2018-06-20Refactor generic parameters in rustdoc/cleanvarkor-1/+1
2018-06-20Remove all traces of lifetimes() and types() methodsvarkor-6/+4