Skip to content

Rollup of 9 pull requests #47984

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
wants to merge 28 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
112feb9
update trpl
steveklabnik Jan 25, 2018
c83566e
update reference
steveklabnik Jan 26, 2018
b9f7564
Do not ignore lifetime bounds in Copy impls
spastorino Jan 30, 2018
a99b5db
stabilize match_beginning_vert
goodmanjonathan Jan 30, 2018
5985b0b
wherein the parens lint keeps its own counsel re args in nested macros
zackmdavis Jan 31, 2018
6284b20
update mdbook to 0.1.2
steveklabnik Jan 25, 2018
e2de8de
Enable stack-probe tests with system LLVM >= 5.0
cuviper Jan 31, 2018
55b54a9
Use a range to identify SIGSEGV in stack guards
cuviper Jan 31, 2018
1fe0a8b
Implement TrustedLen for Take<Repeat> and Take<RangeFrom>
oberien Jan 18, 2018
ba78382
TrustedLen for Repeat / RangeFrom test cases
oberien Feb 2, 2018
45e63ae
Add optimization codegen test
oberien Feb 2, 2018
91e3678
Ignore long CHECK line length
oberien Feb 2, 2018
f56ebc5
Make codegen test more sophisticated
oberien Feb 2, 2018
fa84cc4
Add diverging case to TrustedLen doc
oberien Feb 2, 2018
ee8b4ca
Use CHECK-NEXT for codegen test
oberien Feb 2, 2018
cc68afb
ui tests: diff from old (expected) to new (actual) instead of backwards.
eddyb Feb 3, 2018
6b35d81
Fix const evaluation ICE in rustdoc
GuillaumeGomez Jan 29, 2018
abb162c
add exceptions for new deps
steveklabnik Feb 3, 2018
d597da3
Clarify shared file handler behavior of File::try_clone.
frewsxcv Feb 2, 2018
feeeedc
Rollup merge of #47753 - steveklabnik:update-book, r=alexcrichton
kennytm Feb 3, 2018
867f0b8
Rollup merge of #47862 - GuillaumeGomez:const-evaluation-ice, r=eddyb
kennytm Feb 3, 2018
c2d590f
Rollup merge of #47877 - spastorino:lifetime-bounds-in-copy, r=nikoma…
kennytm Feb 3, 2018
1b92783
Rollup merge of #47896 - zackmdavis:and_the_case_of_the_necessary_unn…
kennytm Feb 3, 2018
eb3b870
Rollup merge of #47912 - cuviper:glibc-stack-guard, r=alexcrichton
kennytm Feb 3, 2018
4655895
Rollup merge of #47944 - oberien:unboundediterator-trustedlen, r=bluss
kennytm Feb 3, 2018
ee3e9ac
Rollup merge of #47947 - goodmanjonathan:stabilize_match_beginning_ve…
kennytm Feb 3, 2018
b1bab59
Rollup merge of #47978 - eddyb:iu, r=kennytm
kennytm Feb 3, 2018
ec010ae
Rollup merge of #47958 - frewsxcv:frewsxcv-try-clone, r=aidanhs
kennytm Feb 3, 2018
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
Prev Previous commit
Next Next commit
Add diverging case to TrustedLen doc
  • Loading branch information
oberien committed Feb 2, 2018
commit fa84cc4a80c6da801528934df12c55951ebc7eb7
3 changes: 2 additions & 1 deletion src/libcore/iter/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,8 @@ impl<'a, I: FusedIterator + ?Sized> FusedIterator for &'a mut I {}
/// The upper bound must only be [`None`] if the actual iterator length is
/// larger than [`usize::MAX`].
///
/// The iterator must produce exactly the number of elements it reported.
/// The iterator must produce exactly the number of elements it reported
/// or diverge before reaching the end.
///
/// # Safety
///
Expand Down