Skip to content

Check other rvalues #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
575 commits
Select commit Hold shift + click to select a range
88e4d2c
rustc_trans: work around i686-pc-windows-msvc byval align LLVM bug.
eddyb Nov 19, 2017
a4ad5db
Fix tidy line-length issue.
michaelwoerister Nov 19, 2017
8d6f869
Remove some trailing whitespace.
michaelwoerister Nov 19, 2017
5041b3b
Auto merge of #45454 - Aaronepower:master, r=alexcrichton
bors Nov 19, 2017
1a9dc2e
dead code lint to say "never constructed" for variants
zackmdavis Nov 19, 2017
89e4373
rustc_trans: remove primitive_align optimization.
eddyb Nov 19, 2017
094d67e
mir-borrowck: Remove parens in the lvalue description of a deref
zilbuz Nov 16, 2017
e5d291a
mir-borrowck: Use bool for autoderef in append_lvalue_to_string()
zilbuz Nov 16, 2017
2285e35
mir-borrowck: Use Field instead of usize for field index in user desc…
zilbuz Nov 16, 2017
1e42d5f
Add process::parent_id
sfackler Nov 19, 2017
f9f5ab9
Revert "tests: Update run-make/issue-25581 to reflect how fat pointer…
eddyb Nov 19, 2017
f50fd07
Auto merge of #45225 - eddyb:trans-abi, r=arielb1
bors Nov 19, 2017
c73bcf0
show macro backtrace with env var
durka Oct 26, 2017
bcd1fed
add UI test
durka Oct 27, 2017
bec62c2
update UI tests
durka Oct 27, 2017
7a5a1f9
use -Z flag instead of env var
durka Nov 18, 2017
32af136
Make rustdoc not include self-by-value methods from Deref target
fhartwig Oct 31, 2017
28f9ffb
break rustfmt
durka Nov 20, 2017
30a6614
tidy 😡
durka Nov 20, 2017
ee4cd86
Include tuple projections in MIR tests
scottmcm Nov 20, 2017
0f29e71
Fixes spelling error in COMPILER_TESTS.md
nyanzebra Nov 20, 2017
ef94d5c
Auto merge of #46068 - wesleywiser:incr_duplicate_read_stats, r=micha…
bors Nov 20, 2017
d08a164
upgrade rls-data
euclio Nov 14, 2017
409297f
allow filtering analysis by reachability
euclio Nov 14, 2017
b082f78
initialize `Access` with macro
euclio Nov 16, 2017
80ff0f7
std: Add a new wasm32-unknown-unknown target
alexcrichton Oct 23, 2017
5802986
Auto merge of #45819 - Havvy:cell, r=aturon
bors Nov 20, 2017
6a5a086
Add type checking for the lang item
scottmcm Nov 20, 2017
a24edb9
Add structured suggestions for trait imports
oli-obk Nov 16, 2017
41e03c3
Auto merge of #45905 - alexcrichton:add-wasm-target, r=aturon
bors Nov 20, 2017
2c2891b
Add structured suggestions for proc macro use imports
oli-obk Nov 16, 2017
78e269e
Include rendered diagnostic in json
oli-obk Nov 17, 2017
ddaf523
The end of a span can be *before* the first char in a line
oli-obk Nov 17, 2017
3864d89
Address PR comments
oli-obk Nov 20, 2017
b29a61e
rustbuild: fix expectation message
Keruspe Nov 20, 2017
42208c1
Handle shifts properly
scottmcm Nov 20, 2017
61f31fd
add a simple test that running with hir-tree doesn't go bonkers
nikomatsakis Nov 19, 2017
e7b2702
Update ui test to rustc master
oli-obk Nov 20, 2017
26e881d
Auto merge of #45998 - ollie27:doc_book_css, r=steveklabnik
bors Nov 20, 2017
0ea4b47
incr.comp.: Make sure we don't lose unused green results from the que…
michaelwoerister Nov 20, 2017
a3917b2
Update books for next release
steveklabnik Nov 20, 2017
e061383
Auto merge of #45645 - fhartwig:39550, r=QuietMisdreavus
bors Nov 20, 2017
21d8992
alloc_system: don’t assume MIN_ALIGN for small sizes, fix #45955
SimonSapin Nov 20, 2017
2dd268b
alloc_jemalloc: don’t assume MIN_ALIGN for small sizes
SimonSapin Nov 20, 2017
43e32b5
Remove comment about a branch being optimized out, fix #45831
SimonSapin Nov 20, 2017
998e3c1
Fix typo in MRI "cannot move out of borrowed content"
ritiek Nov 20, 2017
941852e
Fix some docs summary nits
malbarbo Oct 6, 2017
296aa96
[rustllvm] Use report_fatal_error over llvm_unreachable
Nov 20, 2017
33374fa
Auto merge of #46110 - steveklabnik:update-books, r=steveklabnik
bors Nov 20, 2017
cbcaf73
Print the address of the pointed value in Pointer impl for Rc and Arc
malbarbo Nov 20, 2017
450bbc5
Clippy is broken
cramertj Nov 20, 2017
b34a7ff
address review comments
durka Nov 20, 2017
2151e48
fix example for E0644
nikomatsakis Nov 20, 2017
b3baa83
Fix doc tests for trim_right_matches
Arzte Nov 20, 2017
f69d4d4
Fix result for assert_eq
Arzte Nov 20, 2017
9af5a06
extend comment further to explain why we limit wf to `upvar_tys`
nikomatsakis Nov 20, 2017
f0fcdbc
Properly handle reexport of foreign items.
kennytm Nov 20, 2017
2c16502
Rollup merge of #46082 - Enet4:mutex_from, r=sfackler
kennytm Nov 20, 2017
3b1cf4d
Rollup merge of #46088 - vitiral:read_doc, r=steveklabnik
kennytm Nov 20, 2017
fe2ec73
Rollup merge of #46092 - sfackler:ppid, r=alexcrichton
kennytm Nov 20, 2017
ac92ea5
Rollup merge of #46107 - nyanzebra:develop, r=kennytm
kennytm Nov 20, 2017
b32d9ad
Rollup merge of #46119 - ritiek:master, r=arielb1
kennytm Nov 20, 2017
04b9c25
Rollup merge of #46121 - malbarbo:rc_arc_pointer, r=dtolnay
kennytm Nov 20, 2017
07d16a7
Rollup merge of #46122 - malbarbo:docs, r=steveklabnik
kennytm Nov 20, 2017
2a2b2f4
Rollup merge of #46124 - rkruppe:no-llvm_unreachable, r=arielb1
kennytm Nov 20, 2017
079a6e4
Rollup merge of #46128 - Coding-Doctors:patch-1, r=dtolnay
kennytm Nov 20, 2017
09dcc5f
Display negative traits implementation
GuillaumeGomez Nov 20, 2017
c00eaa9
Strongly improve search path
GuillaumeGomez Nov 19, 2017
2e9b89d
Support `::crate` in paths
petrochenkov Nov 4, 2017
90f5cfd
Report special messages for path segment keywords in wrong positions
petrochenkov Nov 19, 2017
b9c766c
fix example more
nikomatsakis Nov 20, 2017
1e44fee
Auto merge of #46130 - kennytm:rollup, r=kennytm
bors Nov 20, 2017
0789a1d
Fix a typo in ToSocketAddrs documentation
aqrln Nov 20, 2017
421a211
Auto merge of #45039 - QuietMisdreavus:doc-spotlight, r=GuillaumeGome…
bors Nov 21, 2017
bac7c53
Auto merge of #45545 - durka:macro-backtrace, r=nrc
bors Nov 21, 2017
b9a7601
Expand a couple points in 1.22.0 release notes
SimonSapin Nov 21, 2017
ebda766
Auto merge of #45701 - cramertj:impl-trait-this-time, r=eddyb
bors Nov 21, 2017
00732a3
check that def_id is a local closure in InferCtxt::fn_sig
nikomatsakis Nov 21, 2017
13c1cbe
Remove 1.23.0 release notes entry on const_fn
SimonSapin Nov 21, 2017
f28df20
Auto merge of #45771 - petrochenkov:crate, r=nikomatsakis
bors Nov 21, 2017
ad6f4dc
Revert servo to upstream in cargotest
SimonSapin Nov 21, 2017
e7c8fbf
clean the Debug impl for CrateNum and DefId
arielb1 Nov 20, 2017
ece9a57
fix some typos
martinlindhe Nov 21, 2017
c0c3cc4
Rollup merge of #45987 - gaurikholkar:let-expr, r=michaelwoerister
kennytm Nov 21, 2017
f8b3e7c
Rollup merge of #46031 - Keruspe:cargofmt, r=Mark-Simulacrum
kennytm Nov 21, 2017
9b090a0
Rollup merge of #46050 - sunfishcode:read_to_end, r=sfackler
kennytm Nov 21, 2017
0af67a4
Rollup merge of #46052 - oli-obk:rendered_diagnostics_in_json, r=petr…
kennytm Nov 21, 2017
7eb2e79
Rollup merge of #46103 - zackmdavis:dead_code_lint_should_say_never_c…
kennytm Nov 21, 2017
e77f3e4
Rollup merge of #46120 - arielb1:def-debug, r=michaelwoerister
kennytm Nov 21, 2017
3bf1328
Rollup merge of #46134 - GuillaumeGomez:negative-traits, r=QuietMisdr…
kennytm Nov 21, 2017
5b54193
Rollup merge of #46141 - aqrln:tosocketaddrs-doc-fix-typo, r=frewsxcv
kennytm Nov 21, 2017
9a69b00
Rollup merge of #46148 - SimonSapin:patch-6, r=alexcrichton
kennytm Nov 21, 2017
7f0a1e2
Rollup merge of #46155 - SimonSapin:stylo, r=kennytm
kennytm Nov 21, 2017
7c8b36f
Rollup merge of #46157 - martinlindhe:master, r=kennytm
kennytm Nov 21, 2017
63739ab
Auto merge of #46166 - kennytm:rollup, r=kennytm
bors Nov 21, 2017
a2d63d6
Add test for #44953
virgil-palanciuc Oct 30, 2017
f9f3611
allow loading external files in documentation
QuietMisdreavus Sep 22, 2017
52ee203
make with_unsugared_doc preserve is_sugared_doc
QuietMisdreavus Sep 23, 2017
d6d09e0
Auto merge of #45879 - nikomatsakis:nll-kill-cyclic-closures, r=arielb1
bors Nov 21, 2017
fb09464
Add missing Debug impls to std_unicode
ollie27 Nov 22, 2017
bc18d99
Box::leak: update unstable issue number (46179).
Centril Nov 22, 2017
96e9cee
Auto merge of #46040 - zilbuz:mir-misc, r=nikomatsakis
bors Nov 22, 2017
4fecccb
Make RegionVid use newtype_index!
spastorino Nov 10, 2017
19c1736
Check rvalue aggregates during check_stmt in tycheck, add initial, (n…
Nashenas88 Nov 10, 2017
fe32df9
Fix failing test
Nashenas88 Nov 11, 2017
47c6db0
Remove attributes and test comments accidentally left behind, add in …
Nashenas88 Nov 11, 2017
527a5dd
Normalize LvalueTy for ops and format code to satisfy tidy check
Nashenas88 Nov 12, 2017
b588edc
only normalize operand types when in an ADT constructor
nikomatsakis Nov 12, 2017
b3a10db
avoid early return
nikomatsakis Nov 12, 2017
10b8fac
handle the active field index in unions
nikomatsakis Nov 12, 2017
c52e51d
normalize types in ADT constructor
nikomatsakis Nov 20, 2017
3755fe9
Auto merge of #44781 - QuietMisdreavus:doc-include, r=GuillaumeGomez
bors Nov 22, 2017
1dc0b57
Auto merge of #45198 - oli-obk:fmt_args, r=sfackler
bors Nov 22, 2017
45594d5
Auto merge of #46035 - oli-obk:use_suggestions, r=petrochenkov
bors Nov 22, 2017
91b7920
Implement in-band lifetime bindings
cramertj Nov 17, 2017
78ccbba
add debug log with result of writeback
nikomatsakis Nov 22, 2017
d3e0c33
modify inherent impls test to indicate `TypeckTables` do not change
nikomatsakis Nov 22, 2017
79bf7db
add some tests for the interaction with existential impl trait
nikomatsakis Nov 22, 2017
cdc6b84
Amend RELEASES for 1.22.1
steveklabnik Nov 22, 2017
fc658f2
rustc: don't mark lifetimes as early-bound in the presence of impl Tr…
eddyb Nov 22, 2017
794ada0
add `reachable_only` to save-analysis config
euclio Nov 22, 2017
6af4515
Auto merge of #45721 - nikomatsakis:hir-tree, r=arielb1
bors Nov 23, 2017
e1b479c
Rename param in `[T]::swap_with_slice` from `src` to `other`.
frewsxcv Nov 23, 2017
2178e3a
Clarify stdin behavior of `Command::output`.
frewsxcv Nov 23, 2017
b450aff
Add test to new branches
estebank Nov 22, 2017
5eb5e91
Use multiline text for crate conflict diagnostics
estebank Nov 12, 2017
10ef344
Auto merge of #46011 - euclio:reachability-redux, r=nrc
bors Nov 23, 2017
2f51f67
Adding `eprint*!` to the list of macros in the `format!` family
davidalber Nov 23, 2017
a6031a2
Auto merge of #46024 - estebank:no-variant, r=petrochenkov
bors Nov 23, 2017
247d98e
Auto merge of #46051 - cramertj:in-band-lifetimes, r=nikomatsakis
bors Nov 23, 2017
b9b82fd
Auto merge of #46054 - nikomatsakis:nll-master-to-rust-master-1, r=ar…
bors Nov 23, 2017
27d5872
introduce macros for type-foldable, convert stuff to use them
nikomatsakis Nov 11, 2017
39f848e
Add module population and case of enum in place of expression
Menschenkindlein Nov 23, 2017
d059b57
Fix borrowck compiler errors for upvars contain "spurious" dereferences
vramana Nov 18, 2017
0916bbc
Auto merge of #46087 - vramana:fix-46003, r=arielb1
bors Nov 23, 2017
a3686c6
Use for_each_child_stable in find_module
Menschenkindlein Nov 23, 2017
246a6d1
Auto merge of #45881 - Centril:box-leak, r=alexcrichton
bors Nov 23, 2017
377aaea
Remove invalid doc link
GuillaumeGomez Nov 23, 2017
48db4e6
Rollup merge of #45635 - virgil-palanciuc:master, r=kennytm
GuillaumeGomez Nov 23, 2017
a3e809d
Rollup merge of #46177 - ollie27:std_unicode_debug, r=estebank
GuillaumeGomez Nov 23, 2017
808079a
Rollup merge of #46190 - steveklabnik:fix-releases, r=aturon
GuillaumeGomez Nov 23, 2017
f7373b1
Rollup merge of #46218 - rust-lang:frewsxcv-rename-slice-swap-param, …
GuillaumeGomez Nov 23, 2017
e6968df
Rollup merge of #46220 - rust-lang:frewsxcv-issue-44929, r=kennytm
GuillaumeGomez Nov 23, 2017
bbd7932
Auto merge of #46225 - GuillaumeGomez:rollup, r=GuillaumeGomez
bors Nov 23, 2017
439576f
Make float::from_bits transmute (and update the documentation to refl…
Gankra Nov 15, 2017
9342661
Auto merge of #45942 - Menschenkindlein:master, r=estebank
bors Nov 24, 2017
d602c2e
Visit const expressions in check match
sinkuu Nov 16, 2017
1473101
Do match-check before const MIR generation
sinkuu Nov 16, 2017
efa7b12
Add test
sinkuu Nov 16, 2017
eb44c89
Auto merge of #45946 - estebank:crate-conflict-diag, r=arielb1
bors Nov 24, 2017
0af387c
Querify
sinkuu Nov 18, 2017
852f915
Use visit_body
sinkuu Nov 24, 2017
7e07fd3
Simplify an Iterator::fold to Iterator::any
oli-obk Nov 20, 2017
f7361a8
This method of once-diagnostics doesn't allow nesting
oli-obk Nov 20, 2017
36066d8
UI tests extract the regular output from the 'rendered' field in json
oli-obk Nov 20, 2017
a1ad729
core::marker fix typo
lorepozo Nov 24, 2017
85d50ce
Auto merge of #46012 - Gankro:float-conv-transmute, r=sfackler
bors Nov 24, 2017
8937d6a
Merge cfail and ui tests into ui tests
oli-obk Nov 20, 2017
71da1c2
Auto merge of #46116 - oli-obk:json_ui, r=nikomatsakis
bors Nov 24, 2017
47498de
rustbuild: Update LLVM and enable ThinLTO
alexcrichton Nov 15, 2017
5f44c65
Auto merge of #46093 - scottmcm:lower-128-mir, r=nagisa
bors Nov 24, 2017
7c2526a
Be more obvious when suggesting dereference
estebank Nov 12, 2017
2461b7a
Use `get_parent_node` instead of using spans
estebank Nov 23, 2017
0996bb0
Kill the storage for all locals on returning terminators
KiChjang Nov 19, 2017
a550f2d
Auto merge of #46111 - michaelwoerister:promote-green, r=nikomatsakis
bors Nov 24, 2017
95e9609
std: Flag Windows TLS dtor symbol as #[used]
alexcrichton Nov 24, 2017
db16292
Auto merge of #46008 - alexcrichton:update-llvm, r=Mark-Simulacrum
bors Nov 25, 2017
ca8ef26
Auto merge of #46081 - GuillaumeGomez:fix-path-search, r=QuietMisdreavus
bors Nov 25, 2017
59bf09d
Auto merge of #46117 - SimonSapin:min-align, r=alexcrichton
bors Nov 25, 2017
cc6b88c
Auto merge of #46129 - kennytm:fix-46098-rustdoc-reexport-extern-type…
bors Nov 25, 2017
513910e
Update MSVC compilation instructions regarding path length on Windows
zilbuz Nov 25, 2017
5eed95e
rustc_trans: don't apply noalias on returned references.
eddyb Nov 25, 2017
62cb74a
Conform names
sinkuu Nov 24, 2017
2f47a9e
Auto merge of #46191 - eddyb:better-late-than-never, r=nikomatsakis
bors Nov 25, 2017
48996f9
rustbuild: Enable WebAssembly backend by default
alexcrichton Nov 20, 2017
0854bfb
Derive Debug for LangItem
bjorn3 Nov 25, 2017
15dfd7e
Fix test
estebank Nov 24, 2017
e97ba83
Auto merge of #46115 - alexcrichton:add-wasm-target, r=kennytm
bors Nov 25, 2017
fe53a81
rustc: Add support for some more x86 SIMD ops
alexcrichton Oct 18, 2017
62391c8
InstCombine Len([_; N]) => const N in MIR
scottmcm Nov 25, 2017
efa3ed2
Disable region-liveness-drop-no-may-dangle.rs
KiChjang Nov 25, 2017
128b40f
Auto merge of #45367 - alexcrichton:simd-llvm-changes, r=eddyb
bors Nov 25, 2017
4e4f8ab
Check tail node in check_links
udoprog Nov 25, 2017
693bb0d
Auto merge of #45947 - estebank:match_default_bindings-arg-hint, r=ar…
bors Nov 26, 2017
2f84fb5
Auto merge of #46033 - sinkuu:const-enum-match-check, r=arielb1
bors Nov 26, 2017
1bbc776
Implement `Rc`/`Arc` conversions for string-like types
murarth Nov 14, 2017
d4dc289
Auto merge of #45990 - murarth:rc-from-strs, r=alexcrichton
bors Nov 26, 2017
2cac14e
Rollup merge of #46201 - davidalber:eprint-in-fmt-doc, r=frewsxcv
kennytm Nov 26, 2017
4c8cddb
Rollup merge of #46224 - GuillaumeGomez:io-missing-link, r=QuietMisdr…
kennytm Nov 26, 2017
fbfedc7
Rollup merge of #46234 - lucasem:core-marker-typo, r=frewsxcv
kennytm Nov 26, 2017
f95011b
Rollup merge of #46252 - zilbuz:msvc-doc, r=kennytm
kennytm Nov 26, 2017
788fed8
Rollup merge of #46259 - bjorn3:display_lang_item, r=nagisa
kennytm Nov 26, 2017
1aa4dd0
Rollup merge of #46264 - scottmcm:mir-array-len, r=arielb1
kennytm Nov 26, 2017
0d664f9
Rollup merge of #46269 - udoprog:check-links, r=KodrAus
kennytm Nov 26, 2017
3ef39d3
make OpenBSD to use libc++ instead of (e)stdc++
semarie Nov 26, 2017
2c11555
Auto merge of #46272 - kennytm:rollup, r=kennytm
bors Nov 26, 2017
2ca00a9
Auto merge of #46100 - KiChjang:mass-dead-check, r=nikomatsakis
bors Nov 26, 2017
0400312
Auto merge of #46203 - nikomatsakis:type-foldable-macro, r=eddyb
bors Nov 26, 2017
c9af68e
Replace -Zborrowck-mir with -Zborrowck=mode
est31 Nov 19, 2017
755fa9c
Update tests for -Zborrowck-mir -> -Zborrowck=mode migration
est31 Nov 19, 2017
d791798
Use the official abbrev.
est31 Nov 26, 2017
71b21ed
Auto merge of #46253 - eddyb:return-aliasing, r=nagisa
bors Nov 26, 2017
5da957c
mention nightly in -Z external-macro-backtrace note
durka Nov 21, 2017
827cb0d
Auto merge of #46106 - est31:master, r=nikomatsakis
bors Nov 26, 2017
9015b14
Auto merge of #46168 - durka:macro-backtrace, r=durka
bors Nov 26, 2017
5e11c8f
Deprecate the Formatter::flags method, fix #46237
SimonSapin Nov 26, 2017
73df30d
Auto merge of #46273 - semarie:openbsd-libc++, r=alexcrichton
bors Nov 27, 2017
8270faf
Auto merge of #46284 - SimonSapin:deprecate-formatter-flags, r=sfackler
bors Nov 27, 2017
4e63f7b
separate out the liveness constraints from the final value
nikomatsakis Nov 10, 2017
e9fdd75
replace constant regions with a post-inference check
nikomatsakis Nov 10, 2017
8b7f218
borrow_check.rs: rustfmt
nikomatsakis Nov 17, 2017
2eb3e96
inform constraint generation using maybe-init
Nashenas88 Nov 17, 2017
1deb18e
region_infer: BitMatrix representation of region values
zackmdavis Nov 21, 2017
9c86dab
extract the `implied_bounds` code into a helper function
nikomatsakis Nov 10, 2017
3e73e14
move `free_regions_map` into `infer::outlives`
nikomatsakis Nov 10, 2017
e0780f8
make `resolve_regions_and_report_errors` take an `OutlivesEnv`
nikomatsakis Nov 11, 2017
6cd4570
make `no_late_bound_regions` a method on `Binder<T>`
nikomatsakis Nov 12, 2017
3ac0cc5
extract the code to create `OutlivesBounds` into its own module
nikomatsakis Nov 12, 2017
93b7ac0
rename `implied_bounds` module to `bounds`
nikomatsakis Nov 12, 2017
ea4b22f
break type-checking of aggregate-kind out into helper function
nikomatsakis Nov 17, 2017
634e787
rename `greater_than` to `reachable_from`
nikomatsakis Nov 20, 2017
890d113
promote region_infer into its own module
nikomatsakis Nov 20, 2017
16c1555
extend TransitiveRelation with `parents` function
nikomatsakis Nov 20, 2017
38aba92
constraint_generation: create liveness constraints more thoroughly
nikomatsakis Nov 20, 2017
f2a7873
MIR dump: restructure pretty to be more extensible by other code
nikomatsakis Nov 20, 2017
9a8c0ed
move `liberate_late_bound_regions` to a method on the tcx
nikomatsakis Nov 21, 2017
765d401
introduce `closure_env_ty` helper to compute ty of closure env arg
nikomatsakis Nov 21, 2017
1f1c1d0
rename "free region" to "universally quantified region"
nikomatsakis Nov 21, 2017
537c039
fix debruijn account in `for_each_free_region`
nikomatsakis Nov 22, 2017
e353a9e
document `closure_base_def_id`
nikomatsakis Nov 22, 2017
aa68181
with -Zverbose, print all details of closure substs
nikomatsakis Nov 22, 2017
677f079
remove unused span from `eq_types` (and rustfmt slightly)
nikomatsakis Nov 22, 2017
aa77277
renumber types in `ty::Const` and relate them to `mir::Constant`
nikomatsakis Nov 22, 2017
12c9ec5
extend MIR dump with detailed, extra information
nikomatsakis Nov 22, 2017
c67db46
mir-borrowck returns closure requirements, mir-typeck enforces
nikomatsakis Nov 22, 2017
9989138
add closure requirement tests, improve debugging output
nikomatsakis Nov 22, 2017
ee1ebcc
fix filter to support `&` and `|`
nikomatsakis Nov 17, 2017
b4cda6c
Check Repeat Rvalue
nikomatsakis Nov 27, 2017
19d1fe2
fix universal regions to handle constant expressions like `[T; 22]`
nikomatsakis Nov 27, 2017
d7c4370
Refactor and rename prove to prove_trait_ref and impl in terms of pro…
spastorino Nov 21, 2017
0ac9ba5
Check NullaryOp Rvalue
spastorino Nov 20, 2017
0ce5075
rustfmt: MIR typeck
spastorino Nov 21, 2017
6583340
WIP
spastorino Nov 26, 2017
0e6ff5c
more debug logs
nikomatsakis Nov 26, 2017
8b26d17
patch up NLL-related tests (and simplify)
nikomatsakis Nov 27, 2017
d9e209f
Functions stuff
spastorino Nov 27, 2017
f101082
use substs from `value.ty` not `value.val`
nikomatsakis Nov 27, 2017
8c8bc36
Fix test
spastorino Nov 27, 2017
3a16859
Do not copy when Repeat const_usize > 1
spastorino Nov 27, 2017
6136788
Do not abort on mir errors
spastorino Nov 27, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,9 @@
[submodule "src/tools/miri"]
path = src/tools/miri
url = https://github.com/solson/miri.git
[submodule "src/dlmalloc"]
path = src/dlmalloc
url = https://github.com/alexcrichton/dlmalloc-rs.git
[submodule "src/binaryen"]
path = src/binaryen
url = https://github.com/alexcrichton/binaryen.git
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -254,11 +254,11 @@ after_failure:
# Random attempt at debugging currently. Just poking around in here to see if
# anything shows up.
- ls -lat $HOME/Library/Logs/DiagnosticReports/
- find $HOME/Library/Logs/DiagnosticReports/ ! \(
-name '*.stage2-*.crash'
-name 'com.apple.CoreSimulator.CoreSimulatorService-*.crash'
\)
-exec echo -e travis_fold":start:crashlog\n\033[31;1m" {} "\033[0m" \;
- find $HOME/Library/Logs/DiagnosticReports
-type f
-not -name '*.stage2-*.crash'
-not -name 'com.apple.CoreSimulator.CoreSimulatorService-*.crash'
-exec printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" {} \;
-exec head -750 {} \;
-exec echo travis_fold":"end:crashlog \;

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ Here are those same steps in detail:

These instructions are specific to updating `rustfmt`, however they may apply
to the other submodules as well. Please help by improving these instructions
if you find any discrepencies or special cases that need to be addressed.
if you find any discrepancies or special cases that need to be addressed.

To update the `rustfmt` submodule, start by running the appropriate
[`git submodule` command](https://git-scm.com/book/en/v2/Git-Tools-Submodules).
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\vcvars64.
python x.py build
```

If you are seeing build failure when compiling `rustc_binaryen`, make sure the path
length of the rust folder is not longer than 22 characters.

#### Specifying an ABI
[specifying-an-abi]: #specifying-an-abi

Expand Down
112 changes: 102 additions & 10 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,95 @@
Version 1.22.1 (2017-11-22)
==========================

- [Update Cargo to fix an issue with macOS 10.13 "High Sierra"][46183]

[46183]: https://github.com/rust-lang/rust/pull/46183

Version 1.22.0 (2017-11-22)
==========================

Language
--------
- [`non_snake_case` lint now allows extern no-mangle functions][44966]
- [Now accepts underscores in unicode escapes][43716]
- [`T op= &T` now works for numeric types.][44287] eg. `let mut x = 2; x += &8;`
- [types that impl `Drop` are now allowed in `const` and `static` types][44456]

Compiler
--------
- [rustc now defaults to having 16 codegen units at debug on supported platforms.][45064]
- [rustc will no longer inline in codegen units when compiling for debug][45075]
This should decrease compile times for debug builds.
- [strict memory alignment now enabled on ARMv6][45094]
- [Remove support for the PNaCl target `le32-unknown-nacl`][45041]

Libraries
---------
- [Allow atomic operations up to 32 bits
on `armv5te_unknown_linux_gnueabi`][44978]
- [`Box<Error>` now impls `From<Cow<str>>`][44466]
- [`std::mem::Discriminant` is now guaranteed to be `Send + Sync`][45095]
- [`fs::copy` now returns the length of the main stream on NTFS.][44895]
- [Properly detect overflow in `Instant += Duration`.][44220]
- [impl `Hasher` for `{&mut Hasher, Box<Hasher>}`][44015]
- [impl `fmt::Debug` for `SplitWhitespace`.][44303]
- [`Option<T>` now impls `Try`][42526] This allows for using `?` with `Option` types.

Stabilized APIs
---------------

Cargo
-----
- [Cargo will now build multi file examples in subdirectories of the `examples`
folder that have a `main.rs` file.][cargo/4496]
- [Changed `[root]` to `[package]` in `Cargo.lock`][cargo/4571] Packages with
the old format will continue to work and can be updated with `cargo update`.
- [Now supports vendoring git repositories][cargo/3992]

Misc
----
- [`libbacktrace` is now available on Apple platforms.][44251]
- [Stabilised the `compile_fail` attribute for code fences in doc-comments.][43949]
This now lets you specify that a given code example will fail to compile.

Compatibility Notes
-------------------
- [The minimum Android version that rustc can build for has been bumped
to `4.0` from `2.3`][45656]
- [Allowing `T op= &T` for numeric types has broken some type
inference cases][45480]


[42526]: https://github.com/rust-lang/rust/pull/42526
[43017]: https://github.com/rust-lang/rust/pull/43017
[43716]: https://github.com/rust-lang/rust/pull/43716
[43949]: https://github.com/rust-lang/rust/pull/43949
[44015]: https://github.com/rust-lang/rust/pull/44015
[44220]: https://github.com/rust-lang/rust/pull/44220
[44251]: https://github.com/rust-lang/rust/pull/44251
[44287]: https://github.com/rust-lang/rust/pull/44287
[44303]: https://github.com/rust-lang/rust/pull/44303
[44456]: https://github.com/rust-lang/rust/pull/44456
[44466]: https://github.com/rust-lang/rust/pull/44466
[44895]: https://github.com/rust-lang/rust/pull/44895
[44966]: https://github.com/rust-lang/rust/pull/44966
[44978]: https://github.com/rust-lang/rust/pull/44978
[45041]: https://github.com/rust-lang/rust/pull/45041
[45064]: https://github.com/rust-lang/rust/pull/45064
[45075]: https://github.com/rust-lang/rust/pull/45075
[45094]: https://github.com/rust-lang/rust/pull/45094
[45095]: https://github.com/rust-lang/rust/pull/45095
[45480]: https://github.com/rust-lang/rust/issues/45480
[45656]: https://github.com/rust-lang/rust/pull/45656
[cargo/3992]: https://github.com/rust-lang/cargo/pull/3992
[cargo/4496]: https://github.com/rust-lang/cargo/pull/4496
[cargo/4571]: https://github.com/rust-lang/cargo/pull/4571






Version 1.21.0 (2017-10-12)
==========================

Expand Down Expand Up @@ -536,7 +628,7 @@ Misc
----

- [rustdoc can now use pulldown-cmark with the `--enable-commonmark` flag][40338]
- [Added rust-winbg script for better debugging on Windows][39983]
- [Added rust-windbg script for better debugging on Windows][39983]
- [Rust now uses the official cross compiler for NetBSD][40612]
- [rustdoc now accepts `#` at the start of files][40828]
- [Fixed jemalloc support for musl][41168]
Expand Down Expand Up @@ -1570,7 +1662,7 @@ Diagnostics
-----------

* [Replace macro backtraces with labeled local uses][35702]
* [Improve error message for missplaced doc comments][33922]
* [Improve error message for misplaced doc comments][33922]
* [Buffer unix and lock windows to prevent message interleaving][35975]
* [Update lifetime errors to specifically note temporaries][36171]
* [Special case a few colors for Windows][36178]
Expand Down Expand Up @@ -1878,7 +1970,7 @@ Language
useful](https://github.com/rust-lang/rust/pull/34908)
* [`macro_rules!` `stmt` matchers correctly consume the entire contents when
inside non-braces invocations](https://github.com/rust-lang/rust/pull/34886)
* [Semicolons are properly required as statement delimeters inside
* [Semicolons are properly required as statement delimiters inside
`macro_rules!` invocations](https://github.com/rust-lang/rust/pull/34660)
* [`cfg_attr` works on `path` attributes](https://github.com/rust-lang/rust/pull/34546)

Expand Down Expand Up @@ -2103,7 +2195,7 @@ Compatibility Notes
* [`const`s and `static`s may not have unsized types](https://github.com/rust-lang/rust/pull/34443)
* [The new follow-set rules that place restrictions on `macro_rules!`
in order to ensure syntax forward-compatibility have been enabled](https://github.com/rust-lang/rust/pull/33982)
This was an [ammendment to RFC 550](https://github.com/rust-lang/rfcs/pull/1384),
This was an [amendment to RFC 550](https://github.com/rust-lang/rfcs/pull/1384),
and has been a warning since 1.10.
* [`cfg` attribute process has been refactored to fix various bugs](https://github.com/rust-lang/rust/pull/33706).
This causes breakage in some corner cases.
Expand Down Expand Up @@ -3260,7 +3352,7 @@ Libraries
* `FromStr` is [implemented for `SockAddrV4` and `SockAddrV6`][1.5s].
* There are now `From` conversions [between floating point
types][1.5f] where the conversions are lossless.
* Thera are now `From` conversions [between integer types][1.5i] where
* There are now `From` conversions [between integer types][1.5i] where
the conversions are lossless.
* [`fs::Metadata` implements `Clone`][1.5fs].
* The `parse` method [accepts a leading "+" when parsing
Expand Down Expand Up @@ -3460,7 +3552,7 @@ Libraries
* [`IntoIterator` is implemented for references to `Option` and
`Result`][into2].
* [`HashMap` and `HashSet` implement `Extend<&T>` where `T:
Copy`][ext] as part of [RFC 839]. This will cause type inferance
Copy`][ext] as part of [RFC 839]. This will cause type inference
breakage in rare situations.
* [`BinaryHeap` implements `Debug`][bh2].
* [`Borrow` and `BorrowMut` are implemented for fixed-size
Expand All @@ -3471,7 +3563,7 @@ Libraries
* `&mut T` where `T: std::fmt::Write` [also implements
`std::fmt::Write`][mutw].
* [A stable regression in `VecDeque::push_back` and other
capicity-altering methods that caused panics for zero-sized types
capacity-altering methods that caused panics for zero-sized types
was fixed][vd].
* [Function pointers implement traits for up to 12 parameters][fp2].

Expand Down Expand Up @@ -3658,7 +3750,7 @@ Libraries
[better for long data][sh].
* [`AtomicPtr`] implements [`Send`].
* The [`read_to_end`] implementations for [`Stdin`] and [`File`]
are now [specialized to use uninitalized buffers for increased
are now [specialized to use uninitialized buffers for increased
performance][rte].
* Lifetime parameters of foreign functions [are now resolved
properly][f].
Expand Down Expand Up @@ -3787,7 +3879,7 @@ Highlights
* This is the first release with [experimental support for linking
with the MSVC linker and lib C on Windows (instead of using the GNU
variants via MinGW)][win]. It is yet recommended only for the most
intrepid Rusticians.
intrepid Rustaceans.
* Benchmark compilations are showing a 30% improvement in
bootstrapping over 1.1.

Expand Down Expand Up @@ -4653,7 +4745,7 @@ Version 0.11.0 (2014-07-02)
* Libraries
* The standard library is now a "facade" over a number of underlying
libraries. This means that development on the standard library should
be speeder due to smaller crates, as well as a clearer line between
be speedier due to smaller crates, as well as a clearer line between
all dependencies.
* A new library, libcore, lives under the standard library's facade
which is Rust's "0-assumption" library, suitable for embedded and
Expand Down
7 changes: 3 additions & 4 deletions config.toml.example
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,9 @@
# LLVM experimental targets to build support for. These targets are specified in
# the same format as above, but since these targets are experimental, they are
# not built by default and the experimental Rust compilation targets that depend
# on them will not work unless the user opts in to building them. Possible
# experimental LLVM targets include WebAssembly for the
# wasm32-experimental-emscripten Rust target.
#experimental-targets = ""
# on them will not work unless the user opts in to building them. By default the
# `WebAssembly` target is enabled when compiling LLVM from scratch.
#experimental-targets = "WebAssembly"

# Cap the number of parallel linker invocations when compiling LLVM.
# This can be useful when building LLVM with debug info, which significantly
Expand Down
Loading