about summary refs log tree commit diff
path: root/src/test/compile-fail/auxiliary
AgeCommit message (Collapse)AuthorLines
2020-12-29Remove `compile-fail` test suiteVadim Petrochenkov-117/+0
2020-08-27Abort when catch_unwind catches a foreign exceptionAmanieu d'Antras-0/+2
2020-03-05Remove eh_unwind_resume lang itemAmanieu d'Antras-2/+0
2018-12-27Address review comments and CI failuresVadim Petrochenkov-0/+14
2018-12-25Remove licensesMark Rousskov-90/+0
2018-09-07stabilize `#[panic_handler]`Jorge Aparicio-1/+0
2018-08-23add #[panic_handler]; deprecate #[panic_implementation]Jorge Aparicio-2/+2
2018-08-14Moved problematic tests on x86_64-pc-windows-gnu back to compile-fail.David Wood-0/+54
2018-08-14Moved problematic tests on wasm32-unknown back to compile-fail.David Wood-0/+25
2018-08-14Moved problematic tests on dist-x86_64-musl back to compile-fail.David Wood-0/+70
2018-08-14Moved problematic tests on Windows back to compile-fail.David Wood-0/+45
2018-08-14Moved compile-fail tests to ui tests.David Wood-2054/+0
2018-08-05Fix run-pass-fulldeps testsvarkor-1/+1
2018-08-05Fix test/compile-failvarkor-73/+73
2018-08-01Rollup merge of #52930 - eddyb:issue-52489, r=cramertjPietro Albini-0/+13
rustc_resolve: record single-segment extern crate import resolutions. Fixes #52489 by recording special-cased single-segment imports for later (e.g. stability) checks. cc @alexcrichton @Mark-Simulacrum @petrochenkov Does this need to be backported?
2018-08-01rustc_resolve: record single-segment extern crate import resolutions.Eduard-Mihai Burtescu-0/+13
2018-07-31rustc: Handle linker diagnostic from LLVMAlex Crichton-0/+32
Previously linker diagnostic were being hidden when two modules were linked together but failed to link. This commit fixes the situation by ensuring that we have a diagnostic handler installed and also adds support for handling linker diagnostics.
2018-06-30Fixed bug with miri const evaluation where allocation is recursively borrowed.Alexander Regueiro-11/+0
2018-06-21Support future deprecation for rustc_deprecatedvarkor-0/+5
2018-06-03add more testsJorge Aparicio-0/+22
2018-05-12rustc: Only suggest deleting `extern crate` if it worksAlex Crichton-0/+11
This commit updates one of the edition lints to only suggest deleting `extern crate` if it actually works. Otherwise this can yield some confusing behavior with rustfix specifically where if you accidentally deny the `rust_2018_idioms` lint in the 2015 edition it's suggesting features that don't work!
2018-05-01Remove `macro_reexport`Vadim Petrochenkov-34/+0
It's subsumed by `feature(use_extern_macros)` and `pub use`
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