Mark Simulacrum
|
842a9061ea
|
[beta] Prepare 1.28.0 beta release
|
2018-06-20 07:48:06 -06:00 |
|
bors
|
637fd2e048
|
Auto merge of #51651 - spastorino:fix_var_name_in_e0502, r=nikomatsakis
Fix variable name in E0502 double borrow error
Closes #51268
r? @nikomatsakis
|
2018-06-20 12:46:15 +00:00 |
|
Santiago Pastorino
|
3d31e5ffa6
|
Fix variable name in E0502 double borrow error
|
2018-06-20 09:04:52 -03:00 |
|
varkor
|
daf7e359a1
|
Fix rebase issues with existential types
|
2018-06-20 12:34:39 +01:00 |
|
varkor
|
21136b8ab4
|
Rename ParenthesizedArgData to ParenthesisedArgs
|
2018-06-20 12:23:46 +01:00 |
|
varkor
|
95ce05c586
|
Simplify some counting
|
2018-06-20 12:23:46 +01:00 |
|
varkor
|
7a829273bf
|
Rename ty_param_bound to generic_bound
|
2018-06-20 12:23:46 +01:00 |
|
varkor
|
4343c20819
|
Use ty::Generics instead of hir::Generics for various checks
|
2018-06-20 12:23:46 +01:00 |
|
varkor
|
dde942bb64
|
Fix additional comments
|
2018-06-20 12:23:46 +01:00 |
|
varkor
|
a65a9d77f3
|
Fix accidental quadratic loops
|
2018-06-20 12:23:46 +01:00 |
|
varkor
|
37204027b6
|
Rename ty_param_bound to trait_bound
|
2018-06-20 12:23:46 +01:00 |
|
varkor
|
95f1866a4d
|
Make GenericBound explicit
|
2018-06-20 12:23:46 +01:00 |
|
varkor
|
c5f16e0e18
|
Rename ParamBound(s) to GenericBound(s)
|
2018-06-20 12:23:46 +01:00 |
|
varkor
|
991efa4284
|
Address various comments
|
2018-06-20 12:23:33 +01:00 |
|
varkor
|
91712bc665
|
Lift attrs into hir::GenericParam
|
2018-06-20 12:23:23 +01:00 |
|
varkor
|
7de6ed06a5
|
Rename TraitTyParamBound to ParamBound::Trait
|
2018-06-20 12:23:23 +01:00 |
|
varkor
|
8bc3a35576
|
Fix HasAttrs support for GenericParam
|
2018-06-20 12:23:23 +01:00 |
|
varkor
|
390aa5d421
|
Introduce ParamName and use it in place of LifetimeName
|
2018-06-20 12:23:23 +01:00 |
|
varkor
|
59feafd9d8
|
Fix NodeLifetime/NodeGenericParam confusion
|
2018-06-20 12:23:08 +01:00 |
|
varkor
|
831b5c02df
|
Take advantage of the lifetime refactoring
|
2018-06-20 12:23:08 +01:00 |
|
varkor
|
6015edf9af
|
Remove name from GenericParamKind::Lifetime
|
2018-06-20 12:23:08 +01:00 |
|
varkor
|
c4e8e71880
|
Lift name into GenericParam
|
2018-06-20 12:23:08 +01:00 |
|
varkor
|
32b2dacdf8
|
Handle lifetimes in NodeGenericParam also
|
2018-06-20 12:23:07 +01:00 |
|
varkor
|
80dbe58efc
|
Use ParamBounds in WhereRegionPredicate
|
2018-06-20 12:23:07 +01:00 |
|
varkor
|
aed530a457
|
Lift bounds into GenericParam
|
2018-06-20 12:22:46 +01:00 |
|
varkor
|
a5328bc17b
|
Simply joint lifetime/type iteration
|
2018-06-20 12:21:52 +01:00 |
|
varkor
|
8bccfe7a52
|
Refactor counting methods
|
2018-06-20 12:21:52 +01:00 |
|
varkor
|
3bcb006fd9
|
Rename structures in ast
|
2018-06-20 12:21:52 +01:00 |
|
varkor
|
f457b3d10a
|
Refactor generic parameters in rustdoc/clean
|
2018-06-20 12:21:52 +01:00 |
|
varkor
|
80b381e041
|
Remove all traces of lifetimes() and types() methods
|
2018-06-20 12:21:24 +01:00 |
|
varkor
|
10229fd9d5
|
Rename DefPathData::LifetimeDef to LifetimeParam
|
2018-06-20 12:21:24 +01:00 |
|
varkor
|
c65454850f
|
Remove AngleBracketedArgs impl
|
2018-06-20 12:21:08 +01:00 |
|
varkor
|
e1d888c722
|
Remove methods from ast::GenericParam and ast::Generics
|
2018-06-20 12:21:08 +01:00 |
|
varkor
|
2c6ff2469a
|
Refactor ast::GenericParam as a struct
|
2018-06-20 12:21:08 +01:00 |
|
varkor
|
fba1fe2108
|
Remove hir::GenericParam::is_*_param
|
2018-06-20 12:21:08 +01:00 |
|
varkor
|
c818a1df9b
|
Remove specific parameter iterators from hir::Generics
|
2018-06-20 12:21:08 +01:00 |
|
varkor
|
82dba3d419
|
Refactor hir::GenericParam as a struct
|
2018-06-20 12:21:07 +01:00 |
|
varkor
|
d643946550
|
Rename ast::GenericParam and ast::GenericArg
It's so confusing to have everything having the same name, at least while refactoring.
|
2018-06-20 12:19:04 +01:00 |
|
varkor
|
f9d0968906
|
Make method and variable names more consistent
|
2018-06-20 12:19:04 +01:00 |
|
varkor
|
76c0d68745
|
Rename "parameter" to "arg"
|
2018-06-20 12:19:04 +01:00 |
|
varkor
|
3e89753283
|
Rename PathParameter(s) to GenericArg(s)
|
2018-06-20 12:19:04 +01:00 |
|
varkor
|
e05ad4f31a
|
Abstract walk_path_parameters
|
2018-06-20 12:19:04 +01:00 |
|
varkor
|
1ed60a9173
|
Rename *Parameter to *Param
|
2018-06-20 12:19:04 +01:00 |
|
varkor
|
494859e8dd
|
Consolidate PathParameters and AngleBracketedParameterData
|
2018-06-20 12:19:03 +01:00 |
|
bors
|
7d313eaeb6
|
Auto merge of #51638 - spastorino:diagnostic-suggest-drop-in-reverse, r=nikomatsakis
Diagnostic suggest drop in reverse
Closes #51195
|
2018-06-20 09:30:02 +00:00 |
|
Martin Glagla
|
11341e2b06
|
Replace unreachable! with unreachable_unchecked
|
2018-06-20 10:08:11 +02:00 |
|
bors
|
cca43a7f97
|
Auto merge of #51644 - Sgeo:patch-1, r=rkruppe
Remove erroneous example of main as a non-Result function.
|
2018-06-20 06:54:17 +00:00 |
|
bors
|
90c921ed47
|
Auto merge of #51631 - WiSaGaN:patch-1, r=Mark-Simulacrum
Fix links in RELEASES.md
|
2018-06-20 03:46:05 +00:00 |
|
bors
|
93a161170f
|
Auto merge of #51617 - nnethercote:nll-allocs, r=pnkfelix
Reduce number of allocations done by NLL
A couple of easy wins. Here are the NLL speedups that exceed 1%:
```
sentry-cli-check
avg: -3.5% min: -3.5% max: -3.5%
inflate-check
avg: -1.9% min: -1.9% max: -1.9%
inflate
avg: -1.7% min: -1.7% max: -1.7%
clap-rs-check
avg: -1.6% min: -1.6% max: -1.6%
cargo-check
avg: -1.6% min: -1.6% max: -1.6%
ripgrep-check
avg: -1.4% min: -1.4% max: -1.4%
serde-check
avg: -1.2% min: -1.2% max: -1.2%
regex-check
avg: -1.0% min: -1.0% max: -1.0%
sentry-cli
avg: -1.0% min: -1.0% max: -1.0%
```
r? @nikomatsakis
|
2018-06-20 01:39:43 +00:00 |
|
Esteban Küber
|
28cea50a46
|
Update error code numbers
|
2018-06-19 17:33:14 -07:00 |
|