Skip to content
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

Rollup of 29 pull requests #33610

Closed
wants to merge 78 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
96b2288
trans: Always lower to `frem`
alexcrichton May 9, 2016
df572fc
Remove unused function `lower_opt_bounds`
jseyfried May 9, 2016
417fe6d
Refactor away method `LoweringContext::diagnostic`
jseyfried May 9, 2016
eed8d70
Give lowering functions mutable access to the lowering context
jseyfried May 9, 2016
8d5c578
Remove needless `pub`s
jseyfried May 10, 2016
0a38089
Copy more libraries from local Rust to stage0
antonblanchard May 10, 2016
946efcd
Refactor the `hir::lowering::lower_*` functions into methods of `Lowe…
jseyfried May 10, 2016
3927ff4
Make the remaining functions in `hir::lowering` methods of `LoweringC…
jseyfried May 10, 2016
33978b0
Refactor `hir::lowering` API
jseyfried May 10, 2016
66404f3
Simplify text
dns2utf8 May 10, 2016
9ac468b
Store a reference rather than a RefCell in LocalCrateReader.
Ms2ger May 10, 2016
8d3531d
Correct typo in LocalCrateReader::definitions.
Ms2ger May 10, 2016
e919f25
Delay wrapping Definitions into a RefCell around LocalCrateReader.
Ms2ger May 10, 2016
e5a91b7
mir: don't attempt to promote Unpromotable constant temps.
eddyb May 10, 2016
85e0242
Add error description for E0455
cristianoliveira May 4, 2016
7a9f4c2
Add E0500 error explanation
GuillaumeGomez May 10, 2016
5511e65
Hand ownership of the Definitions to map_crate.
Ms2ger May 10, 2016
c0e321a
Make LocalCrateReader private to creader.
Ms2ger May 10, 2016
00f6513
Only break critical edges where actually needed
dotdash May 10, 2016
5541fdf
Use symlink_metadata in tidy to avoid panicking on broken symlinks.
eddyb May 11, 2016
4e5a2e0
Remove unification despite ambiguity in projection
soltanmm-google May 11, 2016
c91b104
Export OnceState from libstd
Amanieu May 11, 2016
5cbfa12
Fix typo in std::sync::Once documentation
Amanieu May 11, 2016
49b2cdf
[MIR trans] Optimize trans for biased switches
dotdash May 11, 2016
fd70788
Do not use const Rib for associated constants
nagisa May 11, 2016
5af829b
Gen right parameter envirnoment for assoc consts
nagisa May 11, 2016
8628cce
Add inferred obligation storage to all Vtable variants and SelectionC…
soltanmm-google May 11, 2016
ec7c483
Don't mutate the inference context when assembling
soltanmm-google May 11, 2016
d3218fa
Check the constants’ parameter environment
nagisa May 11, 2016
f52b655
Plumb inference obligations through selection
soltanmm-google May 12, 2016
6458b04
Cleanup formatting and wording for `std::env::temp_dir` docs.
frewsxcv May 12, 2016
a7902b1
Tighten span for E0063
sanxiyn May 12, 2016
3c2ec13
rustc: use a simpler scheme for plugin registrar symbol names.
eddyb May 10, 2016
fc0872a
trans: remove unused symbol_names::exported_name_with_suffix.
eddyb May 10, 2016
06e00c4
trans: move exported_name's logic into symbol_names.
eddyb May 11, 2016
073f289
trans: force absolute item paths within symbols.
eddyb May 11, 2016
843b174
typeck: if a private field exists, also check for a public method
birkenfeld May 2, 2016
c331032
Better handling of tab in error
sanxiyn May 9, 2016
df4fe5f
update "reason" for fnbox feature gate
durka May 12, 2016
b9fce76
fix tidy
durka May 12, 2016
9393e52
Don't use env::current_exe with libbacktrace
sfackler May 8, 2016
f7362ca
trans: move exported_symbol to Instance::symbol_name.
eddyb May 12, 2016
ff3a1ce
trans: move the MSVC linker to compute symbols on-demand.
eddyb May 12, 2016
749494e
trans: remove item_symbols from metadata and CrateContext.
eddyb May 12, 2016
aa00e3a
re-introduce a cache for ast-ty-to-ty
nikomatsakis May 12, 2016
0eeb14e
Improve derived implementations for enums with lots of fieldless vari…
dotdash May 12, 2016
538de73
rustdoc: Fix missing type parameters on impls
ollie27 May 12, 2016
d4bff0c
doc: Fix comment in std::string::String example code
haikoschol May 12, 2016
adee551
trans: save metadata even with -Z no-trans.
eddyb May 12, 2016
8ad6d27
[MIR] Enhance the SimplifyCfg pass to merge consecutive blocks
dotdash Nov 14, 2015
bb7d0ce
Rollup merge of #33342 - birkenfeld:issue-26472, r=jseyfried
eddyb May 13, 2016
be92e9b
Rollup merge of #33393 - cristianoliveira:docs-error-explanation, r=s…
eddyb May 13, 2016
6859599
Rollup merge of #33508 - alexcrichton:always-lower-frem, r=nikomatsakis
eddyb May 13, 2016
82fd37c
Rollup merge of #33513 - sanxiyn:tab-in-error, r=nikomatsakis
eddyb May 13, 2016
5637db9
Rollup merge of #33517 - sanxiyn:tight-span, r=nagisa
eddyb May 13, 2016
673d686
Rollup merge of #33531 - antonblanchard:local_stage0_fix, r=alexcrichton
eddyb May 13, 2016
76794b6
Rollup merge of #33532 - jseyfried:mutable_lowering_context, r=nrc
eddyb May 13, 2016
e141d95
Rollup merge of #33533 - GuillaumeGomez:add_E0500, r=steveklabnik
eddyb May 13, 2016
dbf812f
Rollup merge of #33534 - dns2utf8:atomic_docs, r=GuillaumeGomez
eddyb May 13, 2016
b3ecd27
Rollup merge of #33538 - Ms2ger:LocalCrateReader, r=arielb1
eddyb May 13, 2016
5a48beb
Rollup merge of #33541 - eddyb:promote-only-temps, r=arielb1
eddyb May 13, 2016
96b6e8f
Rollup merge of #33544 - dotdash:baby_dont_break_me_no_more, r=Aatch
eddyb May 13, 2016
494bc14
Rollup merge of #33552 - dotdash:scfg, r=luqmana
eddyb May 13, 2016
bab9fa2
Rollup merge of #33554 - sfackler:no-current-exe, r=alexcrichton
eddyb May 13, 2016
c3e0529
Rollup merge of #33555 - soltanmm:ambiguous-nixon, r=nikomatsakis
eddyb May 13, 2016
bf535f3
Rollup merge of #33560 - eddyb:symtidy, r=alexcrichton
eddyb May 13, 2016
dc37d09
Rollup merge of #33563 - Amanieu:oncestate, r=alexcrichton
eddyb May 13, 2016
a8a491a
Rollup merge of #33565 - Amanieu:once_doc, r=GuillaumeGomez
eddyb May 13, 2016
8942994
Rollup merge of #33566 - dotdash:biased_switch, r=nagisa
eddyb May 13, 2016
1879aaa
Rollup merge of #33572 - nagisa:assoc-const-types, r=eddyb
eddyb May 13, 2016
2c55f77
Rollup merge of #33576 - soltanmm:vtable, r=nikomatsakis
eddyb May 13, 2016
88ecbc4
Rollup merge of #33580 - frewsxcv:temp-dir, r=alexcrichton
eddyb May 13, 2016
0018516
Rollup merge of #33590 - durka:patch-22, r=aturon
eddyb May 13, 2016
31d4b35
Rollup merge of #33593 - dotdash:smart_derive, r=brson
eddyb May 13, 2016
73f75cc
Rollup merge of #33596 - nikomatsakis:issue-33586-regr-assoc-type-pat…
eddyb May 13, 2016
d1ab5d2
Rollup merge of #33598 - haikoschol:master, r=alexcrichton
eddyb May 13, 2016
f657a30
Rollup merge of #33600 - ollie27:rustdoc_impl_params, r=alexcrichton
eddyb May 13, 2016
96297ea
Rollup merge of #33602 - eddyb:no-trans--check, r=michaelwoerister
eddyb May 13, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/etc/local_stage0.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@ cp ${PREFIX}/${LIB_DIR}/${LIB_PREFIX}extra*${LIB_SUF} ${TARG_DIR}/stage0/${LIB_D
cp ${PREFIX}/${LIB_DIR}/${LIB_PREFIX}rust*${LIB_SUF} ${TARG_DIR}/stage0/${LIB_DIR}/
cp ${PREFIX}/${LIB_DIR}/${LIB_PREFIX}std*${LIB_SUF} ${TARG_DIR}/stage0/${LIB_DIR}/
cp ${PREFIX}/${LIB_DIR}/${LIB_PREFIX}syntax*${LIB_SUF} ${TARG_DIR}/stage0/${LIB_DIR}/
cp ${PREFIX}/${LIB_DIR}/${LIB_PREFIX}flate*${LIB_SUF} ${TARG_DIR}/stage0/${LIB_DIR}/
cp ${PREFIX}/${LIB_DIR}/${LIB_PREFIX}fmt_macros*${LIB_SUF} ${TARG_DIR}/stage0/${LIB_DIR}/
cp ${PREFIX}/${LIB_DIR}/${LIB_PREFIX}getopts*${LIB_SUF} ${TARG_DIR}/stage0/${LIB_DIR}/
cp ${PREFIX}/${LIB_DIR}/${LIB_PREFIX}graphviz*${LIB_SUF} ${TARG_DIR}/stage0/${LIB_DIR}/
cp ${PREFIX}/${LIB_DIR}/${LIB_PREFIX}log*${LIB_SUF} ${TARG_DIR}/stage0/${LIB_DIR}/
cp ${PREFIX}/${LIB_DIR}/${LIB_PREFIX}rbml*${LIB_SUF} ${TARG_DIR}/stage0/${LIB_DIR}/
cp ${PREFIX}/${LIB_DIR}/${LIB_PREFIX}serialize*${LIB_SUF} ${TARG_DIR}/stage0/${LIB_DIR}/
cp ${PREFIX}/${LIB_DIR}/${LIB_PREFIX}term*${LIB_SUF} ${TARG_DIR}/stage0/${LIB_DIR}/

# do not fail if one of the above fails, as all we need is a working rustc!
exit 0
12 changes: 8 additions & 4 deletions src/liballoc/boxed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -525,14 +525,16 @@ impl<I: ExactSizeIterator + ?Sized> ExactSizeIterator for Box<I> {}
/// }
/// ```
#[rustc_paren_sugar]
#[unstable(feature = "fnbox", reason = "Newly introduced", issue = "28796")]
#[unstable(feature = "fnbox",
reason = "will be deprecated if and when Box<FnOnce> becomes usable", issue = "28796")]
pub trait FnBox<A> {
type Output;

fn call_box(self: Box<Self>, args: A) -> Self::Output;
}

#[unstable(feature = "fnbox", reason = "Newly introduced", issue = "28796")]
#[unstable(feature = "fnbox",
reason = "will be deprecated if and when Box<FnOnce> becomes usable", issue = "28796")]
impl<A, F> FnBox<A> for F where F: FnOnce<A>
{
type Output = F::Output;
Expand All @@ -542,7 +544,8 @@ impl<A, F> FnBox<A> for F where F: FnOnce<A>
}
}

#[unstable(feature = "fnbox", reason = "Newly introduced", issue = "28796")]
#[unstable(feature = "fnbox",
reason = "will be deprecated if and when Box<FnOnce> becomes usable", issue = "28796")]
impl<'a, A, R> FnOnce<A> for Box<FnBox<A, Output = R> + 'a> {
type Output = R;

Expand All @@ -551,7 +554,8 @@ impl<'a, A, R> FnOnce<A> for Box<FnBox<A, Output = R> + 'a> {
}
}

#[unstable(feature = "fnbox", reason = "Newly introduced", issue = "28796")]
#[unstable(feature = "fnbox",
reason = "will be deprecated if and when Box<FnOnce> becomes usable", issue = "28796")]
impl<'a, A, R> FnOnce<A> for Box<FnBox<A, Output = R> + Send + 'a> {
type Output = R;

Expand Down
2 changes: 1 addition & 1 deletion src/libcollections/string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ use boxed::Box;
/// let len = story.len();
/// let capacity = story.capacity();
///
/// // story has thirteen bytes
/// // story has nineteen bytes
/// assert_eq!(19, len);
///
/// // Now that we have our parts, we throw the story away.
Expand Down
4 changes: 2 additions & 2 deletions src/libcore/sync/atomic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,13 @@ pub enum Ordering {
#[stable(feature = "rust1", since = "1.0.0")]
Relaxed,
/// When coupled with a store, all previous writes become visible
/// to another thread that performs a load with `Acquire` ordering
/// to the other threads that perform a load with `Acquire` ordering
/// on the same value.
#[stable(feature = "rust1", since = "1.0.0")]
Release,
/// When coupled with a load, all subsequent loads will see data
/// written before a store with `Release` ordering on the same value
/// in another thread.
/// in other threads.
#[stable(feature = "rust1", since = "1.0.0")]
Acquire,
/// When coupled with a load, uses `Acquire` ordering, and with a store
Expand Down
Loading