Fix incorrect error messages in the time library
Fix errors in how parsed time values were used

%u flag takes a value in the range of 1-7. However value needs to be
stored in tm.tm_wday between 0 and 6.
%y takes a two-digit year value. Subtracting 1900_i32 from it is not
needed.
Add range checking in the time library

This was requested in Issue #2350. New function match_digits_in_range
added and used instead of match_digits wherever needed.
Tidied up long lines
testsuite: Update error message, unbreak build
rustc: Print out region errors involving a function scope properly
testsuite: Tweak tests for #3888
testsuite: Un-xfail test for #3029 and move to run-fail
doc: fix log level ids
doc: Fix manual's link attributes example code
doc: Fix tutorial typo and remove unnecessary xfail-test
doc: Fix tutorial-ffi xfail-tests and update SHA1() to use size_t
Enable lint warnings for doc tests
minor int-template.rs cleanup
Merge pull request #4563 from cpeterso/fix-doc-tests

Fix various doc tests
style fix
Revert "doc: Fix tutorial-ffi xfail-tests and update SHA1() to use size_t"

This reverts commit 50c8cbb25aeb9d8132ac06914e9978d3cddb7f42.
Merge pull request #4570 from wting/minor_int_cleanup

minor int-template.rs cleanup
Update documentation with examples for various int, vec methods.

add int::range(), remainder() examples
add vec::foldl(), foldr() examples

tweak
docs: Fix typo