summary refs log tree commit diff
path: root/src/test/compile-fail/auxiliary
AgeCommit message (Collapse)AuthorLines
2018-03-07check stability of macro invocationsAustin Bonander-0/+16
2018-01-15Reexport -> re-export in prose and documentation commentsCarol (Nichols || Goulding)-1/+1
2018-01-13Adjust tests for removal of `impl Foo for .. {}`leonardo.yvens-3/+1
2017-12-22Auto merge of #46838 - pnkfelix:issue-46112-followup, r=estebankbors-0/+14
Followup for #46112. Sorting by crate-num should ensure that we favor `std::foo::bar` over `any_other_crate::foo::bar`. Interestingly, *this* change had a much larger impact on our internal test suite than PR #46708 (which was my original fix to #46112).
2017-12-21Prohibit access to private statics from other crates through macros 2.0Vadim Petrochenkov-0/+2
2017-12-19Followup for #46112.Felix S. Klock II-0/+14
Sorting by crate-num should ensure that we favor `std::foo::bar` over `any_other_crate::foo::bar`. Interestingly, *this* change had a much larger impact on our internal test suite than PR #46708 (which was my original fix to #46112).
2017-12-14Move compile-fail tests with NOTE/HELP annotations to UIVadim Petrochenkov-413/+0
2017-12-07Migrate a few feature gate tests to uiest31-17/+0
Renames only in this commit, and obviously .stderr file additions.
2017-11-28ci: Start running wasm32 tests on TravisAlex Crichton-5/+1
This commit allocates a builder to running wasm32 tests on Travis. Not all test suites pass right now so this is starting out with just the run-pass and the libcore test suites. This'll hopefully give us a pretty broad set of coverage for integration in rustc itself as well as a somewhat broad coverage of the llvm backend itself through integration/unit tests.
2017-11-10Auto merge of #45707 - Ryman:deprecated-item-name, r=nikomatsakisbors-0/+18
rustc: add item name to deprecated lint warning It can sometimes be difficult to know what is actually deprecated when you have `foo.bar()` and `bar` comes from a trait in another crate.
2017-11-03Fix tests and rebase conflictleonardo.yvens-0/+1
2017-11-02rustc: add item name to deprecated lint warningKevin Butler-0/+18
2017-08-27Address review comments, second turnTatsuyuki Ishi-0/+9
2017-07-07Auto merge of #42809 - seanmonstar:stable-associated-consts, r=nikomatsakisbors-2/+0
remove associated_consts feature gate Currently struggling to run tests locally (something about jemalloc target missing). cc #29646
2017-07-07Address review commentspetrochenkov-2/+2
Fix regressions after rebase
2017-07-06Check adjustments and node substsVadim Petrochenkov-1/+4
Cleanup checking of inherent static methods and fix checking of inherent associated constants Add more tests
2017-07-06Check types for privacyVadim Petrochenkov-0/+41
2017-07-06remove associated_consts feature gateSean McArthur-2/+0
2017-07-05rustc: Implement the #[global_allocator] attributeAlex Crichton-94/+0
This PR is an implementation of [RFC 1974] which specifies a new method of defining a global allocator for a program. This obsoletes the old `#![allocator]` attribute and also removes support for it. [RFC 1974]: https://github.com/rust-lang/rfcs/pull/197 The new `#[global_allocator]` attribute solves many issues encountered with the `#![allocator]` attribute such as composition and restrictions on the crate graph itself. The compiler now has much more control over the ABI of the allocator and how it's implemented, allowing much more freedom in terms of how this feature is implemented. cc #27389
2017-06-21Integrate jobserver support to parallel codegenAlex Crichton-0/+42
This commit integrates the `jobserver` crate into the compiler. The crate was previously integrated in to Cargo as part of rust-lang/cargo#4110. The purpose here is to two-fold: * Primarily the compiler can cooperate with Cargo on parallelism. When you run `cargo build -j4` then this'll make sure that the entire build process between Cargo/rustc won't use more than 4 cores, whereas today you'd get 4 rustc instances which may all try to spawn lots of threads. * Secondarily rustc/Cargo can now integrate with a foreign GNU `make` jobserver. This means that if you call cargo/rustc from `make` or another jobserver-compatible implementation it'll use foreign parallelism settings instead of creating new ones locally. As the number of parallel codegen instances in the compiler continues to grow over time with the advent of incremental compilation it's expected that this'll become more of a problem, so this is intended to nip concurrent concerns in the bud by having all the tools to cooperate! Note that while rustc has support for itself creating a jobserver it's far more likely that rustc will always use the jobserver configured by Cargo. Cargo today will now set a jobserver unconditionally for rustc to use.
2017-06-02Use multiline note for trait suggestionEsteban Küber-46/+0
2017-04-27don't ICE on cross-crate associated const type mismatchAriel Ben-Yehuda-0/+15
Fixes #41549.
2017-04-14Further update with response to feedbackSean Griffin-0/+1
2017-03-05Add compile-fail test for cfg_target_thread_localGibson Fahnestock-0/+17
Test copied from src/test/run-pass/thread-local-extern-static.rs. Refs: https://github.com/rust-lang/rust/issues/39059
2017-01-15Improve the warning cycle for `use $crate;`.Jeffrey Seyfried-1/+6
2016-12-29Change --crate-type metadata to --emit=metadataNick Cameron-1/+2
2016-12-26More systematic error reporting in path resolutionVadim Petrochenkov-0/+4
2016-12-26Move some compile-fail tests into UI directoryVadim Petrochenkov-77/+0
2016-11-22Auto merge of #37681 - nrc:crate-metadata, r=@alexcrichtonbors-0/+32
add --crate-type metadata r? @alexcrichton
2016-11-21Fix fallout in tests.Jeffrey Seyfried-98/+0
2016-11-21TestsNick Cameron-0/+32
2016-11-08Partially stabilize RFC 1506 "Clarify relationships between ADTs"Vadim Petrochenkov-5/+1
2016-11-02Add regression test.Jeffrey Seyfried-0/+16
2016-10-25Support `use $crate;` with a future compatibility warning.Jeffrey Seyfried-0/+12
2016-10-04Fix cross-crate resolution of half-items created by export shadowingVadim Petrochenkov-0/+163
2016-09-25fix 36708Tim Neumann-0/+15
2016-09-20rustc_resolve: bring back "struct called like a function" cross-crate.Eduard Burtescu-0/+13
2016-09-09Issue deprecation warnings for safe accesses to extern staticsVadim Petrochenkov-0/+14
2016-08-13Remove restrictions from tuple structs/variantsVadim Petrochenkov-0/+4
Hard errors are turned into feature gates
2016-07-08Add tests + Fix rustdoc regression + Fix rebaseVadim Petrochenkov-0/+10
2016-06-29Add regression testJeffrey Seyfried-0/+13
2016-05-19rustc: Add a new crate type, cdylibAlex Crichton-0/+11
This commit is an implementation of [RFC 1510] which adds a new crate type, `cdylib`, to the compiler. This new crate type differs from the existing `dylib` crate type in a few key ways: * No metadata is present in the final artifact * Symbol visibility rules are the same as executables, that is only reachable `extern` functions are visible symbols * LTO is allowed * All libraries are always linked statically This commit is relatively simple by just plubming the compiler with another crate type which takes different branches here and there. The only major change is an implementation of the `Linker::export_symbols` function on Unix which now actually does something. This helps restrict the public symbols from a cdylib on Unix. With this PR a "hello world" `cdylib` is 7.2K while the same `dylib` is 2.4MB, which is some nice size savings! [RFC 1510]: https://github.com/rust-lang/rfcs/pull/1510 Closes #33132
2016-05-07test: adjust for the move to MIR-based const checking.Eduard Burtescu-1/+1
2016-05-06s/aux/auxiliary, because windowsNiko Matsakis-0/+2281
For legacy reasons (presumably), Windows does not permit files name aux.