Matthew Maurer
72aaa3a414
rustc: Allow cdylibs to link against dylibs
...
Previously, rustc mandated that cdylibs could only link against rlibs as
dependencies (not dylibs).
This commit disables that restriction and tests that it works in a
simple case.
2020-01-23 13:10:04 -08:00
Ross MacArthur
f7256d28d1
Require issue = "none" over issue = "0" in unstable attributes
2019-12-21 13:16:18 +02:00
Vadim Petrochenkov
32e5acb3eb
proc_macro: Turn quote into a regular built-in macro
...
Previously in was implemented using a special hack in the metadata loader
2019-08-27 00:37:13 +03:00
Kevin Per
df713dd397
Group all ui tests and move to abi #62593
2019-08-15 16:00:54 +02:00
Vadim Petrochenkov
5486cc69bd
tests: Move run-pass tests with naming conflicts to ui
2019-07-27 18:56:17 +03:00
Vadim Petrochenkov
9be35f82c1
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00
varkor
df26dd8fd1
Add auxiliary issue file
2019-05-24 22:03:14 +01:00
varkor
7f0f0e31ec
Remove double trailing newlines
2019-04-22 16:57:01 +01:00
David Wood
7c955409e3
Handle edge cases.
...
This commit introduces more dirty span manipulation into the compiler
in order to handle the various edge cases in moving/renaming the macro
import so it is at the root of the import.
2019-04-12 01:54:33 +02:00
David Wood
126ac9ef6c
Add test with current behaviour.
...
This commit adds a test demonstrating the current behaviour when a macro
defined in a module with the `#[macro_export]` is imported from the
module rather than the crate root.
2019-04-07 17:56:50 +02:00
Vadim Petrochenkov
6389478d70
Move one test from run-make-fulldeps to ui
2019-03-21 23:36:50 +03:00
Alexander Regueiro
fe30743c79
Moved issue tests to subdirs and normalised names.
2019-03-14 01:00:49 +00:00
Mark Rousskov
2a663555dd
Remove licenses
2018-12-25 21:08:33 -07:00
Vadim Petrochenkov
725d22e645
Move some tests from ui-fulldeps to ui
2018-12-09 19:56:30 +03:00
Havvy (Ryan Scheel)
9568ec6bef
Move conditional configuration related UI tests into their own directory
2018-10-05 00:13:23 -07:00
David Wood
0cfc17358a
Moved problematic tests on Windows back to compile-fail.
2018-08-14 11:12:11 +02:00
David Wood
3fc7ab2373
Merged migrated compile-fail tests and ui tests. Fixes #46841 .
2018-08-14 11:12:09 +02:00
varkor
c157ec87ed
Fix 2018 edition tests
2018-08-05 15:54:49 +01:00
varkor
f22ccbe315
Fix run-pass-fulldeps tests
2018-08-05 15:54:49 +01:00
varkor
671a81738d
Fix test/ui
2018-08-05 15:54:49 +01:00
Vadim Petrochenkov
c3e54217e8
resolve: Implement prelude search for macro paths
...
resolve/expansion: Implement tool attributes
2018-08-01 12:08:41 +03:00
bors
c7cba3d33f
Auto merge of #52024 - oli-obk:existential_parse, r=nikomatsakis
...
Implement existential types
(not for associated types yet)
r? @nikomatsakis
cc @Centril @varkor @alexreg
2018-07-19 21:14:01 +00:00
Oliver Schneider
53d2ebb0ad
Implement existential types
2018-07-18 10:53:08 +02:00
Oliver Schneider
95208044e8
Make async_idents an edition incompat lint
2018-07-17 19:56:41 +02:00
mark
75d33cfa64
add edition compiletest header + fix tests
2018-06-26 19:32:00 -05:00
Esteban Küber
43d863b5ed
Add test for reexported crate names
2018-05-28 10:55:32 -07:00
Niko Matsakis
60c4eb4566
create a rust-2018 directory for tests related to edition transition
2018-05-22 11:45:29 -04:00
Vadim Petrochenkov
dae5f05f43
Remove the proc keyword again
2018-05-17 23:13:09 +03:00
Vadim Petrochenkov
cd4925d1b8
Add tests
2018-05-17 23:13:09 +03:00
Alex Crichton
dff9ee1d74
rustc: Fix crate lint for single-item paths
...
This commit fixes recommending the `crate` prefix when migrating to 2018 for
paths that look like `use foo;` or `use {bar, baz}`
Closes #50660
2018-05-15 08:05:34 -07:00
kennytm
abf4d8babf
When picking a candidate, consider the unstable ones last.
...
If there is potential ambiguity after stabilizing those candidates, a
warning will be emitted.
2018-03-24 06:58:01 +08:00
Vadim Petrochenkov
d4e51a8fb2
Move compile-fail tests with NOTE/HELP annotations to UI
2017-12-14 23:23:07 +03:00
Felix S. Klock II
35bcd9913e
Regression test for issue #46112 .
2017-12-12 23:18:53 -06:00
est31
38438c618c
Migrate a few feature gate tests to ui
...
Renames only in this commit, and obviously
.stderr file additions.
2017-12-07 10:14:39 +01:00