varkor
12de24ce81
Add test for denying overflowing literal in loop
2019-05-23 21:48:26 +01:00
varkor
3e4cefe1bd
Update unreachable loop patterns test
2019-05-23 21:39:36 +01:00
varkor
49f01d823f
Fix missing overflowing literal lint in for loop
2019-05-23 21:39:27 +01:00
Eric Huss
46ffb6adba
tidy: don't short-circuit on license error
...
If there is more than one license error, tidy would only print the first
error. This changes it so that all license errors are printed.
2019-05-23 13:33:08 -07:00
Eric Huss
d5e03530f7
Update cargo
2019-05-23 13:27:49 -07:00
Santiago Pastorino
2e39b9c51f
Make find_local iterate instead of recurse
2019-05-23 22:17:45 +02:00
Esteban Küber
7fbbcfaafd
Add regression test for negative case
2019-05-23 10:32:01 -07:00
John Kåre Alsaker
d46e732e39
Update crate_variances and inferred_outlives_crate
2019-05-23 18:51:52 +02:00
John Kåre Alsaker
a58999c19e
Update dylib_dependency_formats, extern_crate and reachable_non_generics
2019-05-23 18:51:52 +02:00
John Kåre Alsaker
469831f4da
Update foreign_modules and dllimport_foreign_items
2019-05-23 18:51:51 +02:00
John Kåre Alsaker
2f74d90ef3
Update visible_parent_map
2019-05-23 18:51:51 +02:00
John Kåre Alsaker
3f87975d65
Update get_lib_features, defined_lib_features, get_lang_items, defined_lang_items, missing_lang_items, postorder_cnums and maybe_unused_extern_crates
2019-05-23 18:51:51 +02:00
John Kåre Alsaker
46f2511296
Update wasm_import_module_map and target_features_whitelist
2019-05-23 18:51:50 +02:00
John Kåre Alsaker
9b648f7088
Update upvars and module_exports
2019-05-23 18:51:50 +02:00
John Kåre Alsaker
5f808f6588
Update in_scope_traits_map
2019-05-23 18:51:50 +02:00
John Kåre Alsaker
fb578794b0
Update privacy_access_levels
2019-05-23 18:51:49 +02:00
John Kåre Alsaker
5751fcc3b1
Update all_traits
2019-05-23 18:51:49 +02:00
John Kåre Alsaker
10ef70bb68
Update stability_index, all_crate_nums and features_query
2019-05-23 18:51:49 +02:00
John Kåre Alsaker
9dcc60b081
Update lint_levels
2019-05-23 18:51:48 +02:00
John Kåre Alsaker
5bcc80be10
Update Cargo.lock
2019-05-23 18:51:48 +02:00
John Kåre Alsaker
ad2b35bb31
Make ArenaField private
2019-05-23 18:51:47 +02:00
John Kåre Alsaker
42145659fd
Add a comment for arena_types!
2019-05-23 18:51:47 +02:00
John Kåre Alsaker
e77096b08c
Remove subtle Default impl for Value
2019-05-23 18:51:47 +02:00
John Kåre Alsaker
ae8975c812
Update GenericPredicates queries
2019-05-23 18:51:46 +02:00
John Kåre Alsaker
ba5d9c094d
Optimize alloc_from_iter
2019-05-23 18:51:46 +02:00
John Kåre Alsaker
28482db247
Update used_trait_imports
2019-05-23 18:51:45 +02:00
John Kåre Alsaker
b1398a0de6
Update item_children
2019-05-23 18:51:45 +02:00
John Kåre Alsaker
529aed81de
Update resolve_lifetimes, named_region_map, is_late_bound_map and object_lifetime_defaults_map
2019-05-23 18:51:45 +02:00
John Kåre Alsaker
093940ddc4
Update implementations_of_trait and all_trait_implementations
2019-05-23 18:51:43 +02:00
John Kåre Alsaker
95dfd82666
Update upstream_monomorphizations and upstream_monomorphizations_for
2019-05-23 18:51:42 +02:00
John Kåre Alsaker
99f6221bb6
Update borrowck
2019-05-23 18:51:42 +02:00
John Kåre Alsaker
8c936e422f
Update inherent_impls
2019-05-23 18:51:42 +02:00
John Kåre Alsaker
4ba144d5dd
Update associated_item_def_ids
2019-05-23 18:51:41 +02:00
Ralf Jung
8d4e7fde47
adjust comment
2019-05-23 18:13:08 +02:00
Ralf Jung
6116f19f7b
Box::into_unique: do the reborrow-to-raw *after* destroying the Box
2019-05-23 18:01:47 +02:00
Andy Russell
3cbf5864a6
tweak discriminant on non-nullary enum diagnostic
...
Adds notes pointing at the non-nullary variants, and uses "custom
discriminant" language to be consistent with the Reference.
2019-05-23 11:13:48 -04:00
Brent Kerby
941ca6f3e2
Clarify docs for unreachable! macro
2019-05-23 09:04:01 -06:00
Ralf Jung
f44b264447
fix dangling reference in Vec::append
2019-05-23 16:30:54 +02:00
bors
27cc0db7a2
Auto merge of #60965 - petrochenkov:lit3, r=matklad
...
syntax: Continue refactoring literals
A follow up to https://github.com/rust-lang/rust/pull/60679 .
a2fd002bd5
: Similarly to `EscapeError`, literal parsing now produces a `LitError`.
This way we can get rid of `diag: Option<(Span, &Handler)>` in interfaces while leaving attr/mod alone.
d9516d1120
: Gathers all components of a literal token in a single struct.
2019-05-23 13:28:27 +00:00
Mateusz Mikuła
1a35a1c688
Ship profiler with windows-gnu
2019-05-23 13:32:30 +02:00
Pietro Albini
924cdd4532
bump nightly to 1.37.0
2019-05-23 12:27:58 +02:00
Vadim Petrochenkov
90d15e7704
syntax: Some code cleanup
2019-05-23 12:46:41 +03:00
Vadim Petrochenkov
ca2a50fad7
syntax: Turn token::Lit
into a struct
2019-05-23 12:46:24 +03:00
Vadim Petrochenkov
558559e70f
syntax: Remove an obsolete hack from literal comparisons
2019-05-23 12:44:05 +03:00
Vadim Petrochenkov
9450e7d142
syntax: Fix spans for boolean literals passed to proc macros
2019-05-23 12:44:05 +03:00
Vadim Petrochenkov
694f76d561
syntax: More consistent wording for some literal parsing errors
2019-05-23 12:44:05 +03:00
Vadim Petrochenkov
fcc2f92f45
syntax: Return named errors from literal parsing functions
2019-05-23 12:44:05 +03:00
bors
f688ba6089
Auto merge of #61075 - Centril:rollup-1ugmcqu, r=Centril
...
Rollup of 7 pull requests
Successful merges:
- #60981 (Bump compiler-builtins to 0.1.15)
- #61014 (Make -Zemit-artifact-notifications also emit the artifact type)
- #61043 (Disable LLVM/debug assertions in gnu-full-bootstrap)
- #61046 (Fix ICE with inconsistent macro matchers)
- #61055 (Solaris CI: Build with dilos2 stable)
- #61057 (Revert "Add implementations of last in terms of next_back on a bunch of DoubleEndedIterators.")
- #61073 (librustc_errors: Remove unused annotation style `OldSchoolNoteText`)
Failed merges:
r? @ghost
2019-05-23 07:31:24 +00:00
Mazdak Farrokhzad
a89c62ca2b
Rollup merge of #61073 - phansch:remove_unused_annotation_style, r=matthewjasper
...
librustc_errors: Remove unused annotation style `OldSchoolNoteText`
I could not find any references to it and the `snippet` module does not
seem to be exported publicly, so I think it can be safely removed.
This was originally removed in 17bd76a51 and I'm not sure why it is still there.
2019-05-23 08:37:19 +02:00
Mazdak Farrokhzad
b2299b2689
Rollup merge of #61057 - sfackler:revert-next-back, r=alexcrichton
...
Revert "Add implementations of last in terms of next_back on a bunch of DoubleEndedIterators."
This changed observable behavior for several iterator types.
r? @alexcrichton
2019-05-23 08:37:18 +02:00