Add `--linker` option to pass flags to the linker
Adds '--print-link-args' that outputs linker arguments that would be used
core: Replace uses of 'drop' in task module with 'finally'. #5379
librustc: Fix drop finalizer not running for newtype structs.
Change flags to -Z print-link-args and --link-args
I modified the doc of from_elem, from_fn, I think it returns an owned vector
char: fix unused import warning
iter: add a find function
deleted two tests intended to test RUST_CC_ZEAL, an apparently defunct flag for the cycle collector
remove (non-parsing) test related to impl d for d feature
this issue is a dup of another one that has a correct test case

this test case has rotted wrt modern syntax. fortunately, this issue
was a dup of another one, and that one still ICEs.
This test case is obsolete for two reasons

First, it refers to a feature (trait bounds on type parameters) that's
apparently no longer in the language. Second, if I understand the issue
correctly, it should never have been a "run-pass" test because it was
supposed to fail.
changed to impl trait for type stx
iter: add max and min functions
Reverse accidental src/llvm reversion in 876483dcf, and add test.

The test is reduced from a doc test, but making it separate ensures that
(1) unrelated changes to the docs won't leave this case uncovered, and
(2) the nature of any future failures will be more obvious to whoever
sees the tree on fire as a result.
Revert "doc: XFAIL mysterious failure on bots"

This reverts commit 2c6dae081b72d33a2c51b5f46436e6350bb3682f.
clear *everything* from the tmp directory

The .tmp files were missed before. I don't think there's a need to use
*.ext instead of just *.
auto merge of #6136 : jld/rust/simplifycfg-unrevert, r=thestinger

Also add the clearly marked test case that should have been there all along, and un-xfail the not-so-obvious doc test that was affected.
Got test cases to pass, after some major surgery
this test still doesn't pass, but at least it parses...