rust/src/test/ui
bors f789b6bd6d Auto merge of #54069 - petrochenkov:subns, r=aturon
resolve: Introduce two sub-namespaces in macro namespace

Two sub-namespaces are introduced in the macro namespace - one for bang macros and one for attribute-like macros (attributes, derives).

"Sub-namespace" means this is not a newly introduced full namespace, the single macro namespace is still in place.
I.e. you still can't define/import two macros with the same name in a single module, `use` imports still import only one name in macro namespace (from any sub-namespace) and not possibly two.

However, when we are searching for a name used in a `!` macro call context (`my_macro!()`) we skip attribute names in scope, and when we are searching for a name used in attribute context (`#[my_macro]`/`#[derive(my_macro)]`) we are skipping bang macro names in scope.
In other words, bang macros cannot shadow attribute macros and vice versa.

For a non-macro analogy, we could e.g. skip non-traits when searching for `MyTrait` in `impl MyTrait for Type { ... }`.
However we do not do it in non-macro namespaces because we don't have practical issues with e.g. non-traits shadowing traits with the same name, but with macros we do, especially after macro modularization.

For `#[test]` and `#[bench]` we have a hack in the compiler right now preventing their shadowing by `macro_rules! test` and similar things. This hack was introduced after making `#[test]`/`#[bench]` built-in macros instead of built-in attributes (https://github.com/rust-lang/rust/pull/53410), something that needed to be done from the start since they are "active" attributes transforming their inputs.
Now they are passed through normal name resolution and can be shadowed, but that's a breaking change, so we have  a special hack basically applying this PR for `#[test]` and `#[bench]` only.

Soon all potentially built-in attributes will be passed through normal name resolution (https://github.com/rust-lang/rust/pull/53913) and that uncovers even more cases where the strict "macro namespace is a single namespace" rule needs to be broken.
For example, with strict rules, built-in macro `cfg!(...)` would shadow built-in attribute `#[cfg]` (they are different things), standard library macro `thread_local!(...)` would shadow built-in attribute `#[thread_local]` - both of these cases are covered by special hacks in https://github.com/rust-lang/rust/pull/53913 as well.
Crater run uncovered more cases of attributes being shadowed by user-defined macros (`warn`, `doc`, `main`, even `deprecated`), we cannot add exceptions in the compiler for all of them.

Regressions with user-defined attributes like https://github.com/rust-lang/rust/issues/53583 and https://github.com/rust-lang/rust/issues/53898 also appeared after enabling macro modularization.

People are also usually confused (https://github.com/rust-lang/rust/issues/53205#issuecomment-411552763, https://github.com/rust-lang/rust/issues/53583#issuecomment-415447800) when they see conflicts between attributes and non-attribute macros for the first time.

So my proposed solution is to solve this issue by introducing two sub-namespaces and thus skipping resolutions of the wrong kind and preventing more error-causing cases of shadowing.

Fixes https://github.com/rust-lang/rust/issues/53583
2018-09-14 22:17:45 +00:00
..
alloc-error Point at def span on incorrect panic or alloc error handler 2018-08-30 16:00:09 -07:00
allocator
asm
associated-const
associated-item
associated-type
associated-types optimize let x: T = .. to avoid a temporary 2018-09-10 08:28:56 -04:00
attrs-with-no-formal-in-generics
auxiliary
bad
bind-by-move
binop
blind
block-result
borrowck optimize let x: T = .. to avoid a temporary 2018-09-10 08:28:56 -04:00
builtin-superkinds
cast
chalkify rustc_typeck: turn where Type:, into a WF(Type) predicate, instead of ignoring it. 2018-08-31 09:02:35 +03:00
check_match
closure_context
closure-expected-type Update tests 2018-09-01 12:58:18 +02:00
closures Update tests 2018-09-01 12:58:18 +02:00
codemap_tests
coercion
coherence
compare-method
confuse-field-and-method
consts Auto merge of #54032 - oli-obk:layout_scalar_ranges, r=eddyb 2018-09-14 09:47:21 +00:00
cross
custom_test_frameworks Introduce Custom Test Frameworks 2018-09-04 22:33:00 -07:00
cycle-trait
dep-graph stabalize infer outlives requirements (RFC 2093). 2018-09-11 11:40:04 -04:00
deprecation
derived-errors
derives
did_you_mean
directory_ownership Stabilization change for mod.rs 2018-09-08 19:41:46 -07:00
disallowed-deconstructing
discrim
dollar-crate Fixed 53359: E0432 unresolved import on the same line is now emiting one diagnostic 2018-09-08 15:11:04 +00:00
dropck
dst
duplicate
e0119
editions Generalize async_idents to all new keywords 2018-08-29 09:34:53 -07:00
empty
enum cleanup: Add main functions to some UI tests 2018-08-31 18:56:15 +03:00
error-codes Auto merge of #53778 - petrochenkov:shadrelax2, r=nikomatsakis 2018-09-09 21:00:55 +00:00
exclusive-range
existential_types Fixing tests from anon -> opaque 2018-09-06 11:43:31 -06:00
explicit
extenv
extern
feature-gate Feature gate non-builtin attributes in inner attribute position 2018-09-10 03:35:47 +03:00
feature-gates introduce SelfCtor 2018-09-13 12:27:29 +08:00
fmt
fn
for
fully-qualified-type
functional-struct-update
generator
generic
hello_world
hr-subtype Update tests 2018-09-01 12:58:18 +02:00
hrtb
hygiene cleanup: Add main functions to some UI tests 2018-08-31 18:56:15 +03:00
if
impl-header-lifetime-elision Update tests 2018-09-01 12:58:18 +02:00
impl-trait Rollup merge of #53829 - alexcrichton:release-debuginfo, r=michaelwoerister 2018-09-14 00:46:22 +08:00
imports resolve: More precise spans for ambiguous resolution errors 2018-09-08 14:15:11 +03:00
in-band-lifetimes Update tests 2018-09-01 12:58:18 +02:00
include-macros
inference
infinite Restrict most uses of const_fn to min_const_fn 2018-08-31 08:40:00 +02:00
interior-mutability
internal
invalid Suggest valid crate type if invalid 2018-09-13 21:26:45 +02:00
invalid-module-declaration
issues Auto merge of #54069 - petrochenkov:subns, r=aturon 2018-09-14 22:17:45 +00:00
keyword introduce SelfCtor 2018-09-13 12:27:29 +08:00
kindck Update tests 2018-09-01 12:58:18 +02:00
label
lifetimes Auto merge of #54088 - matthewjasper:use-reason-in-dlle-errors, r=pnkfelix 2018-09-14 15:45:02 +00:00
lint stabalize infer outlives requirements (RFC 2093). 2018-09-11 11:40:04 -04:00
liveness
loops
lub-glb
macro_backtrace
macros resolve: Introduce two sub-namespaces in macro namespace 2018-09-13 14:48:50 +03:00
malformed
manual
match Update tests 2018-09-01 12:58:18 +02:00
methods
mir-dataflow
mismatched_types
missing
missing_non_modrs_mod
mod
moves
mut
namespace
nll Auto merge of #54088 - matthewjasper:use-reason-in-dlle-errors, r=pnkfelix 2018-09-14 15:45:02 +00:00
non_modrs_mods Stabilization change for mod.rs 2018-09-08 19:41:46 -07:00
non-exhaustive
not-panic
numeric
object-lifetime Update tests 2018-09-01 12:58:18 +02:00
object-safety
obsolete-in-place
on-unimplemented
packed-struct
panic-handler stabilize #[panic_handler] 2018-09-07 13:27:30 +02:00
panic-implementation
panic-runtime
parser Change wording of unclosed delimiter label 2018-09-05 07:33:29 -07:00
pattern
print_type_sizes
print-fuel
privacy
pub
qualified
range
raw
reachable
recursion
regions Auto merge of #54088 - matthewjasper:use-reason-in-dlle-errors, r=pnkfelix 2018-09-14 15:45:02 +00:00
repr cleanup: Add main functions to some UI tests 2018-08-31 18:56:15 +03:00
reserved
resolve implement feature tuple_struct_self_ctor 2018-09-13 10:57:28 +08:00
return
rfc1445
rfc1598-generic-associated-types
rfc1717
rfc-1937-termination-trait Introduce Custom Test Frameworks 2018-09-04 22:33:00 -07:00
rfc-2005-default-binding-mode
rfc-2008-non-exhaustive
rfc-2093-infer-outlives stabalize infer outlives requirements (RFC 2093). 2018-09-11 11:40:04 -04:00
rfc-2126-crate-paths
rfc-2126-extern-absolute-paths
rfc-2126-extern-in-paths
rfc-2166-underscore-imports Don't emit "unused extern crate" warnings for extern crate foo as _; 2018-08-29 08:53:54 -07:00
rfc-2306
rfc-2497-if-let-chains Added note referencing issue which added error. 2018-09-07 00:37:44 +02:00
run-pass Auto merge of #54201 - eddyb:reflexive-disambiguation, r=petrochenkov 2018-09-14 19:52:13 +00:00
rust-2018 we now successfully warn about async in macro invocations 2018-09-11 08:56:59 -04:00
self introduce SelfCtor 2018-09-13 12:27:29 +08:00
shadowed
simd-intrinsic
single-use-lifetime
span Auto merge of #54088 - matthewjasper:use-reason-in-dlle-errors, r=pnkfelix 2018-09-14 15:45:02 +00:00
specialization cleanup: Add main functions to some UI tests 2018-08-31 18:56:15 +03:00
stability-attribute
static
str
structs
suggestions
svh
symbol-names
test-shadowing resolve: Remove unshadowable_attrs 2018-09-10 04:04:51 +03:00
token Provide more context for unenclosed delimiters 2018-09-05 03:43:24 -07:00
tool-attributes
traits
transmute
trivial-bounds
try-block insert AscribeUserType for ascriptions 2018-09-10 08:22:31 -04:00
tuple cleanup: Add main functions to some UI tests 2018-08-31 18:56:15 +03:00
type
typeck stabalize infer outlives requirements (RFC 2093). 2018-09-11 11:40:04 -04:00
ufcs
unboxed-closures optimize let x: T = .. to avoid a temporary 2018-09-10 08:28:56 -04:00
underscore-lifetime Fix tests 2018-09-06 22:57:05 -04:00
uninhabited
union
unreachable
unresolved cleanup: Add main functions to some UI tests 2018-08-31 18:56:15 +03:00
unsafe Restrict most uses of const_fn to min_const_fn 2018-08-31 08:40:00 +02:00
unsized
unused
use
variadic
variance Update tests 2018-09-01 12:58:18 +02:00
variants
vec
wf stabalize infer outlives requirements (RFC 2093). 2018-09-11 11:40:04 -04:00
where-clauses
xcrate
.gitattributes
absolute-paths-in-nested-use-groups.rs
absolute-paths-in-nested-use-groups.stderr
access-mode-in-closures.nll.stderr
access-mode-in-closures.rs
access-mode-in-closures.stderr
allocator-submodule.rs
allocator-submodule.stderr
anon-params-denied-2018.rs
anon-params-denied-2018.stderr
anon-params-deprecated.fixed
anon-params-deprecated.rs
anon-params-deprecated.stderr
anonymous-higher-ranked-lifetime.rs
anonymous-higher-ranked-lifetime.stderr
arbitrary-self-types-not-object-safe.rs
arbitrary-self-types-not-object-safe.stderr
arg-count-mismatch.rs
arg-count-mismatch.stderr
arg-type-mismatch.rs
arg-type-mismatch.stderr
array_const_index-0.rs
array_const_index-0.stderr
array_const_index-1.rs
array_const_index-1.stderr
array-break-length.rs
array-break-length.stderr
array-not-vector.rs
array-not-vector.stderr
as-ref.rs
as-ref.stderr
assign-imm-local-twice.ast.nll.stderr
assign-imm-local-twice.ast.stderr
assign-imm-local-twice.mir.stderr
assign-imm-local-twice.rs
assign-to-method.rs
assign-to-method.stderr
assignment-operator-unimplemented.rs
assignment-operator-unimplemented.stderr
assoc-inherent.rs
assoc-inherent.stderr
associated-path-shl.rs
associated-path-shl.stderr
async-fn-multiple-lifetimes.rs
async-fn-multiple-lifetimes.stderr
async-matches-expr.rs
attempted-access-non-fatal.rs
attempted-access-non-fatal.stderr
attr-bad-crate-attr.rc
attr-eq-token-tree.rs
attr-usage-inline.rs
attr-usage-inline.stderr
attr-usage-repr.rs
attr-usage-repr.stderr
augmented-assignments.nll.stderr
augmented-assignments.rs
augmented-assignments.stderr
auto-ref-slice-plus-ref.rs
auto-ref-slice-plus-ref.stderr
auto-trait-validation.rs
auto-trait-validation.stderr
autoderef-full-lval.rs
autoderef-full-lval.stderr
bastion-of-the-turbofish.rs
binary-op-on-double-ref.rs
binary-op-on-double-ref.stderr
bogus-tag.rs
bogus-tag.stderr
bounds-lifetime.rs
bounds-lifetime.stderr
break-outside-loop.rs
break-outside-loop.stderr
break-while-condition.rs
break-while-condition.stderr
by-move-pattern-binding.nll.stderr
by-move-pattern-binding.rs
by-move-pattern-binding.stderr
call-fn-never-arg-wrong-type.rs
call-fn-never-arg-wrong-type.stderr
can-begin-expr-check.rs
can-begin-expr-check.stderr
cannot-mutate-captured-non-mut-var.ast.nll.stderr
cannot-mutate-captured-non-mut-var.ast.stderr
cannot-mutate-captured-non-mut-var.mir.stderr
cannot-mutate-captured-non-mut-var.rs
capture1.rs
capture1.stderr
cast_char.rs
cast_char.stderr
casts-differing-anon.rs
casts-differing-anon.stderr
casts-issue-46365.rs
casts-issue-46365.stderr
cdylib-deps-must-be-static.rs
cdylib-deps-must-be-static.stderr
cfg_attr_path.rs
cfg_attr_path.stderr
cfg-arg-invalid-1.rs Validate syntax of --cfg command line arguments 2018-09-06 02:04:04 +03:00
cfg-arg-invalid-2.rs Validate syntax of --cfg command line arguments 2018-09-06 02:04:04 +03:00
cfg-arg-invalid-3.rs Validate syntax of --cfg command line arguments 2018-09-06 02:04:04 +03:00
cfg-arg-invalid-4.rs Validate syntax of --cfg command line arguments 2018-09-06 02:04:04 +03:00
cfg-arg-invalid-5.rs Validate syntax of --cfg command line arguments 2018-09-06 02:04:04 +03:00
cfg-attr-cfg-2.rs
cfg-attr-cfg-2.stderr
cfg-attr-crate-2.rs
cfg-attr-crate-2.stderr
cfg-attr-invalid-predicate.rs
cfg-attr-invalid-predicate.stderr
cfg-attr-syntax-validation.rs Validate syntax of cfg attributes 2018-09-06 01:18:30 +03:00
cfg-attr-syntax-validation.stderr Validate syntax of cfg attributes 2018-09-06 01:18:30 +03:00
cfg-attr-unknown-attribute-macro-expansion.rs
cfg-attr-unknown-attribute-macro-expansion.stderr
cfg-empty-codemap.rs Validate syntax of --cfg command line arguments 2018-09-06 02:04:04 +03:00
cfg-in-crate-1.rs
cfg-in-crate-1.stderr
cfg-non-opt-expr.rs Move #[test_case] to a syntax extension 2018-09-04 22:33:23 -07:00
cfg-non-opt-expr.stderr Move #[test_case] to a syntax extension 2018-09-04 22:33:23 -07:00
changing-crates.rs
changing-crates.stderr
check-static-immutable-mut-slices.rs
check-static-immutable-mut-slices.stderr
check-static-values-constraints.nll.stderr
check-static-values-constraints.rs
check-static-values-constraints.stderr
class-cast-to-trait.rs
class-cast-to-trait.stderr
class-method-missing.rs
class-method-missing.stderr
class-missing-self.rs
class-missing-self.stderr
cleanup-rvalue-scopes-cf.rs
cleanup-rvalue-scopes-cf.stderr
closure_promotion.rs
closure_promotion.stderr
closure-expected.rs
closure-expected.stderr
command-line-diagnostics.nll.stderr
command-line-diagnostics.rs
command-line-diagnostics.stderr
compile_error_macro.rs
compile_error_macro.stderr
concat.rs
concat.stderr
conflicting-repr-hints.rs
conflicting-repr-hints.stderr
conservative_impl_trait.rs
conservative_impl_trait.stderr
constructor-lifetime-args.rs
constructor-lifetime-args.stderr
conversion-methods.rs
conversion-methods.stderr
copy-a-resource.rs
copy-a-resource.stderr
crate-in-paths.rs Remove crate_visibility_modifier from 2018 edition 2018-09-09 02:28:13 +02:00
crate-in-paths.stderr
crate-name-mismatch.rs
crate-name-mismatch.stderr
custom_attribute.rs
custom_attribute.stderr
custom-attribute-multisegment.rs
custom-attribute-multisegment.stderr
custom-test-frameworks-simple.rs Introduce Custom Test Frameworks 2018-09-04 22:33:00 -07:00
cycle-projection-based-on-where-clause.rs
cycle-projection-based-on-where-clause.stderr
dead-code-closure-bang.rs
dead-code-ret.rs
dead-code-ret.stderr
defaulted-never-note.rs
defaulted-never-note.stderr
deref-non-pointer.rs
deref-non-pointer.stderr
deref-suggestion.rs
deref-suggestion.stderr
destructure-trait-ref.rs
destructure-trait-ref.stderr
diverging-fn-tail-35849.rs
diverging-fn-tail-35849.stderr
diverging-tuple-parts-39485.rs
diverging-tuple-parts-39485.stderr
does-nothing.rs
does-nothing.stderr
dont-suggest-private-trait-method.rs
dont-suggest-private-trait-method.stderr
dotdotdot-expr.rs
dotdotdot-expr.stderr
double-import.rs
double-import.stderr
double-type-import.rs
double-type-import.stderr
duplicate_entry_error.rs
duplicate_entry_error.stderr
dyn-trait-compatibility.rs
dyn-trait-compatibility.stderr
E0501.ast.nll.stderr
E0501.ast.stderr
E0501.mir.stderr
E0501.rs
E0506.ast.nll.stderr
E0506.ast.stderr
E0506.mir.stderr
E0506.rs
E0508-fail.ast.nll.stderr
E0508-fail.ast.stderr
E0508-fail.mir.stderr
E0508-fail.rs
E0508.ast.stderr
E0508.mir.stderr
E0508.nll.stderr
E0508.rs
E0508.stderr
E0583.rs
E0583.stderr
E0594.ast.nll.stderr
E0594.ast.stderr
E0594.mir.stderr
E0594.rs
E0596.ast.nll.stderr
E0596.ast.stderr
E0596.mir.stderr
E0596.rs
E0642.rs
E0642.stderr
E0660.rs
E0660.stderr
E0661.rs
E0661.stderr
E0662.rs
E0662.stderr
E0663.rs
E0663.stderr
E0664.rs
E0664.stderr
E0665.rs
E0665.stderr
E0705.rs
E0705.stderr
elide-errors-on-mismatched-tuple.rs Do not emit E0277 on incorrect tuple destructured binding 2018-09-11 17:09:22 -07:00
elide-errors-on-mismatched-tuple.stderr Do not emit E0277 on incorrect tuple destructured binding 2018-09-11 17:09:22 -07:00
elided-test.rs
elided-test.stderr
enable-unstable-lib-feature.rs
enable-unstable-lib-feature.stderr
enums-pats-not-idents.rs
enums-pats-not-idents.stderr
error-festival.rs
error-festival.stderr
error-should-say-copy-not-pod.rs
error-should-say-copy-not-pod.stderr
estr-subtyping.rs
estr-subtyping.stderr
eval-enum.rs
eval-enum.stderr
exclusive-drop-and-copy.rs
exclusive-drop-and-copy.stderr
exhaustive_integer_patterns.rs
exhaustive_integer_patterns.stderr
expanded-cfg.rs
expanded-cfg.stderr
explain.rs
explain.stdout
export2.rs
export2.stderr
export-fully-qualified.rs
export-fully-qualified.stderr
export-import.rs
export-import.stderr
export-tag-variant.rs
export-tag-variant.stderr
export.rs
export.stderr
expr_attr_paren_order.rs
expr_attr_paren_order.stderr
ext-nonexistent.rs
ext-nonexistent.stderr
extoption_env-no-args.rs
extoption_env-no-args.stderr
extoption_env-not-string-literal.rs
extoption_env-not-string-literal.stderr
extoption_env-too-many-args.rs
extoption_env-too-many-args.stderr
fail-no-dead-code-core.rs
fail-no-dead-code-core.stderr
fail-no-dead-code.rs
fail-no-dead-code.stderr
fail-simple.rs
fail-simple.stderr
fat-ptr-cast.rs
fat-ptr-cast.stderr
feature-gate-custom_test_frameworks.rs Move #[test_case] to a syntax extension 2018-09-04 22:33:23 -07:00
feature-gate-custom_test_frameworks.stderr Move #[test_case] to a syntax extension 2018-09-04 22:33:23 -07:00
feature-gate-doc_cfg-cfg-rustdoc.rs feature(doc_cfg): set cfg(rustdoc) when rustdoc is running 2018-08-31 13:29:10 -05:00
feature-gate-doc_cfg-cfg-rustdoc.stderr feature(doc_cfg): set cfg(rustdoc) when rustdoc is running 2018-08-31 13:29:10 -05:00
feature-gate-exhaustive_integer_patterns.rs
feature-gate-exhaustive_integer_patterns.stderr
feature-gate-unsized_locals.rs
feature-gate-unsized_locals.stderr
feature-gated-feature-in-macro-arg.rs
feature-gated-feature-in-macro-arg.stderr
float-literal-inference-restrictions.rs
float-literal-inference-restrictions.stderr
fn_must_use.rs
fn_must_use.stderr
foreign-fn-return-lifetime.rs
foreign-fn-return-lifetime.stderr
foreign-unsafe-fn-called.rs
foreign-unsafe-fn-called.stderr
future-incompatible-lint-group.rs
future-incompatible-lint-group.stderr
gated-bad-feature.rs cleanup: Add main functions to some UI tests 2018-08-31 18:56:15 +03:00
gated-bad-feature.stderr cleanup: Add main functions to some UI tests 2018-08-31 18:56:15 +03:00
generator-yielding-or-returning-itself.rs
generator-yielding-or-returning-itself.stderr
glob-cycles.rs
glob-cycles.stderr
glob-resolve1.rs
glob-resolve1.stderr
hashmap-iter-value-lifetime.nll.stderr
hashmap-iter-value-lifetime.rs
hashmap-iter-value-lifetime.stderr
hashmap-lifetimes.nll.stderr
hashmap-lifetimes.rs
hashmap-lifetimes.stderr
hidden-rt-injection2.rs
hidden-rt-injection2.stderr
hidden-rt-injection.rs
hidden-rt-injection.stderr
higher-lifetime-bounds.rs
higher-lifetime-bounds.stderr
huge-array-simple.rs
huge-array.rs
huge-array.stderr
huge-enum.rs
huge-enum.stderr
huge-struct.rs
huge-struct.stderr
illegal-ufcs-drop.rs
illegal-ufcs-drop.stderr
immut-function-arguments.ast.nll.stderr
immut-function-arguments.ast.stderr
immut-function-arguments.mir.stderr
immut-function-arguments.rs
impl-bounds-checking.rs
impl-bounds-checking.stderr
impl-duplicate-methods.rs
impl-duplicate-methods.stderr
impl-unused-rps-in-assoc-type.rs
impl-unused-rps-in-assoc-type.stderr
impl-unused-tps-inherent.rs
impl-unused-tps-inherent.stderr
impl-unused-tps.rs
impl-unused-tps.stderr
implicit-method-bind.rs
implicit-method-bind.stderr
import2.rs
import2.stderr
import3.rs
import3.stderr
import4.rs
import4.stderr
import.rs
import.stderr
impossible_range.rs
impossible_range.stderr
inaccessible-test-modules.rs
inaccessible-test-modules.stderr Introduce Custom Test Frameworks 2018-09-04 22:33:00 -07:00
index_message.rs
index_message.stderr
index-bot.rs
index-bot.stderr
index-help.rs
index-help.stderr
indexing-requires-a-uint.rs
indexing-requires-a-uint.stderr
inhabitedness-infinite-loop.rs
inhabitedness-infinite-loop.stderr
init-unsafe.rs
init-unsafe.stderr
inner-static-type-parameter.rs
inner-static-type-parameter.stderr
integer-literal-suffix-inference.rs
integer-literal-suffix-inference.stderr
integral-indexing.rs
integral-indexing.stderr
integral-variable-unification-error.rs
integral-variable-unification-error.stderr
intrinsic-invalid-number-of-arguments.rs
intrinsic-invalid-number-of-arguments.stderr
invalid_crate_type_syntax.rs cleanup: Add main functions to some UI tests 2018-08-31 18:56:15 +03:00
invalid_crate_type_syntax.stderr cleanup: Add main functions to some UI tests 2018-08-31 18:56:15 +03:00
issue-2354.rs Change wording of unclosed delimiter label 2018-09-05 07:33:29 -07:00
issue-2354.stderr Change wording of unclosed delimiter label 2018-09-05 07:33:29 -07:00
issue-10636-1.rs Reword un-closed delimiter label 2018-09-05 03:43:24 -07:00
issue-10636-1.stderr Reword un-closed delimiter label 2018-09-05 03:43:24 -07:00
issue-51602.rs
issue-51602.stderr
issue-52992.rs
issue-53251.rs
issue-53251.stderr
issue-53300.rs
issue-53300.stderr
issue-53419.rs stabalize infer outlives requirements (RFC 2093). 2018-09-11 11:40:04 -04:00
issue-53565.rs Fixed 53359: E0432 unresolved import on the same line is now emiting one diagnostic 2018-09-08 15:11:04 +00:00
issue-53565.stderr Fixed 53359: E0432 unresolved import on the same line is now emiting one diagnostic 2018-09-08 15:11:04 +00:00
issue-53568.rs
issue-53692.rs 53692: Addressed Estebank's Nits 2018-09-09 13:43:41 +00:00
issue-53692.stderr 53692: Addressed Estebank's Nits 2018-09-09 13:43:41 +00:00
lang-item-missing.rs
lang-item-missing.stderr
lexical-scopes.rs
lexical-scopes.stderr
lifetime_starts_expressions.rs
lifetime_starts_expressions.stderr
linkage2.rs
linkage2.stderr
linkage3.rs
linkage3.stderr
linkage4.rs
linkage4.stderr
lto-duplicate-symbols.rs
lto-duplicate-symbols.stderr
lub-if.nll.stderr Update tests 2018-09-01 12:58:18 +02:00
lub-if.rs
lub-if.stderr
lub-match.nll.stderr Update tests 2018-09-01 12:58:18 +02:00
lub-match.rs
lub-match.stderr
main-wrong-location.rs
main-wrong-location.stderr
main-wrong-type.rs
main-wrong-type.stderr
malformed_macro_lhs.rs
malformed_macro_lhs.stderr
map-types.rs
map-types.stderr
maybe-bounds-where-cpass.rs
maybe-bounds-where-cpass.stderr
maybe-bounds-where.rs
maybe-bounds-where.stderr
maybe-bounds.rs
maybe-bounds.stderr
meta-expected-error-correct-rev.a.stderr
meta-expected-error-correct-rev.rs
minus-string.rs
minus-string.stderr
mir_check_nonconst.rs
mir_check_nonconst.stderr
mir-unpretty.rs
mir-unpretty.stderr
missing_debug_impls.rs
missing_debug_impls.stderr
module-macro_use-arguments.rs
module-macro_use-arguments.stderr
multiple-main-2.rs
multiple-main-2.stderr
multiple-main-3.rs
multiple-main-3.stderr
multiple-plugin-registrars.rs
multiple-plugin-registrars.stderr
mutexguard-sync.rs
mutexguard-sync.stderr
nested_impl_trait.rs
nested_impl_trait.stderr
nested-cfg-attrs.rs
nested-cfg-attrs.stderr
nested-ty-params.rs cleanup: Add main functions to some UI tests 2018-08-31 18:56:15 +03:00
nested-ty-params.stderr cleanup: Add main functions to some UI tests 2018-08-31 18:56:15 +03:00
never_transmute_never.rs
never-assign-dead-code.rs
never-assign-dead-code.stderr
never-assign-wrong-type.rs
never-assign-wrong-type.stderr
no_crate_type.rs
no_crate_type.stderr
no_owned_box_lang_item.rs stabalize infer outlives requirements (RFC 2093). 2018-09-11 11:40:04 -04:00
no_owned_box_lang_item.stderr
no_send-enum.rs
no_send-enum.stderr
no_send-rc.rs
no_send-rc.stderr
no_send-struct.rs
no_send-struct.stderr
no_share-enum.rs
no_share-enum.stderr
no_share-struct.rs
no_share-struct.stderr
no-args-non-move-async-closure.rs
no-args-non-move-async-closure.stderr
no-capture-arc.nll.stderr
no-capture-arc.rs
no-capture-arc.stderr
no-implicit-prelude-nested.rs
no-implicit-prelude-nested.stderr
no-implicit-prelude.rs
no-implicit-prelude.stderr
no-link.rs
no-link.stderr
no-patterns-in-args-2.rs
no-patterns-in-args-2.stderr
no-patterns-in-args-macro.rs
no-patterns-in-args-macro.stderr
no-patterns-in-args.rs
no-patterns-in-args.stderr
no-reuse-move-arc.nll.stderr
no-reuse-move-arc.rs
no-reuse-move-arc.stderr
no-send-res-ports.rs
no-send-res-ports.stderr
no-std-inject.rs
no-std-inject.stderr
no-type-for-node-ice.rs
no-type-for-node-ice.stderr
no-warn-on-field-replace-issue-34101.rs
no-warn-on-field-replace-issue-34101.stderr
noexporttypeexe.rs
noexporttypeexe.stderr
non-constant-expr-for-arr-len.rs
non-constant-expr-for-arr-len.stderr
non-constant-in-const-path.rs
non-constant-in-const-path.stderr
non-copyable-void.rs
non-copyable-void.stderr
non-interger-atomic.rs
non-interger-atomic.stderr
noncopyable-class.rs
noncopyable-class.stderr
nonscalar-cast.rs
nonscalar-cast.stderr
not-clone-closure.rs
not-clone-closure.stderr
not-copy-closure.nll.stderr
not-copy-closure.rs
not-copy-closure.stderr
not-enough-arguments.rs
not-enough-arguments.stderr
not-sync.rs
not-sync.stderr
object-does-not-impl-trait.rs
object-does-not-impl-trait.stderr
object-pointer-types.rs
object-pointer-types.stderr
obsolete-syntax-impl-for-dotdot.rs
obsolete-syntax-impl-for-dotdot.stderr
occurs-check-2.rs
occurs-check-2.stderr
occurs-check-3.rs
occurs-check-3.stderr
occurs-check.rs
occurs-check.stderr
old-suffixes-are-really-forbidden.rs
old-suffixes-are-really-forbidden.stderr
once-cant-call-twice-on-heap.rs
once-cant-call-twice-on-heap.stderr
opt-in-copy.rs
opt-in-copy.stderr
or-patter-mismatch.rs
or-patter-mismatch.stderr
order-dependent-cast-inference.rs
order-dependent-cast-inference.stderr
orphan-check-diagnostics.rs
orphan-check-diagnostics.stderr
osx-frameworks.rs
osx-frameworks.stderr
out-of-order-shadowing.rs resolve: Model resolve_legacy_scope after resolve_lexical_macro_path_segment 2018-09-08 14:15:10 +03:00
out-of-order-shadowing.stderr resolve: More precise spans for ambiguous resolution errors 2018-09-08 14:15:11 +03:00
output-type-mismatch.rs
output-type-mismatch.stderr
overlap-marker-trait.rs
overlap-marker-trait.stderr
overloaded-calls-nontuple.rs
overloaded-calls-nontuple.stderr
panic_implementation-closures.rs stabilize #[panic_handler] 2018-09-07 13:27:30 +02:00
paren-span.rs
paren-span.stderr
parse-error-correct.rs
parse-error-correct.stderr
parser-recovery-1.rs Reword un-closed delimiter label 2018-09-05 03:43:24 -07:00
parser-recovery-1.stderr Change wording of unclosed delimiter label 2018-09-05 07:33:29 -07:00
parser-recovery-2.rs
parser-recovery-2.stderr Reword un-closed delimiter label 2018-09-05 03:43:24 -07:00
partialeq_help.rs
partialeq_help.stderr
path-lookahead.rs
path-lookahead.stderr
phantom-oibit.rs
phantom-oibit.stderr
placement-syntax.rs
placement-syntax.stderr
platform-intrinsic-params.rs
platform-intrinsic-params.stderr
pptypedef.rs
pptypedef.stderr
prim-with-args.rs
prim-with-args.stderr
priv-in-bad-locations.rs
priv-in-bad-locations.stderr
ptr-coercion.rs
ptr-coercion.stderr
question-mark-type-infer.rs
question-mark-type-infer.stderr
quote-with-interpolated.rs
quote-with-interpolated.stderr
reassign-ref-mut.rs
reassign-ref-mut.stderr
ref-suggestion.nll.stderr
ref-suggestion.rs
ref-suggestion.stderr
refutable-pattern-errors.rs
refutable-pattern-errors.stderr
refutable-pattern-in-fn-arg.rs
refutable-pattern-in-fn-arg.stderr
regions-fn-subtyping-return-static-fail.rs
regions-fn-subtyping-return-static-fail.stderr
reject-specialized-drops-8142.rs
reject-specialized-drops-8142.stderr
removing-extern-crate.fixed
removing-extern-crate.rs update UI test 2018-09-06 23:01:35 +02:00
removing-extern-crate.stderr update UI test 2018-09-06 23:01:35 +02:00
repeat_count.rs
repeat_count.stderr
repeat-to-run-dtor-twice.rs
repeat-to-run-dtor-twice.stderr
repr.rs
repr.stderr
required-lang-item.rs
required-lang-item.stderr
resolve_self_super_hint.rs cleanup: Add main functions to some UI tests 2018-08-31 18:56:15 +03:00
resolve_self_super_hint.stderr cleanup: Add main functions to some UI tests 2018-08-31 18:56:15 +03:00
ret-non-nil.rs
ret-non-nil.stderr
retslot-cast.rs
retslot-cast.stderr
rfc1623.rs
rfc1623.stderr
rmeta_lib.rs
rmeta_lib.stderr
rmeta_meta_main.rs
rmeta_meta_main.stderr
rmeta-lib-pass.rs
rmeta-pass.rs
rmeta-priv-warn.rs
rmeta.rs
rmeta.stderr
rust-unstable-column-gated.rs
rust-unstable-column-gated.stderr
rustc-args-required-const2.rs
rustc-args-required-const2.stderr
rustc-args-required-const.rs
rustc-args-required-const.stderr
rustc-error.rs
rustc-error.stderr
safe-extern-statics-mut.rs
safe-extern-statics-mut.stderr
safe-extern-statics.rs
safe-extern-statics.stderr
seq-args.rs
seq-args.stderr
shift-various-bad-types.rs
shift-various-bad-types.stderr
short-error-format.rs
short-error-format.stderr
should-fail-no_gate_irrefutable_if_let_pattern.rs
should-fail-no_gate_irrefutable_if_let_pattern.stderr
should-fail-with_gate_irrefutable_pattern_deny.rs
should-fail-with_gate_irrefutable_pattern_deny.stderr
simd-type-generic-monomorphisation.rs
simd-type-generic-monomorphisation.stderr
simd-type.rs
simd-type.stderr
similar-tokens.rs
similar-tokens.stderr
single-primitive-inherent-impl.rs
single-primitive-inherent-impl.stderr
sized-cycle-note.rs
sized-cycle-note.stderr
slice-2.rs
slice-2.stderr
slice-mut-2.nll.stderr optimize let x: T = .. to avoid a temporary 2018-09-10 08:28:56 -04:00
slice-mut-2.rs
slice-mut-2.stderr
slice-mut.rs
slice-mut.stderr
slightly-nice-generic-literal-messages.rs
slightly-nice-generic-literal-messages.stderr
stable-features.rs
stable-features.stderr
staticness-mismatch.rs
staticness-mismatch.stderr
std-uncopyable-atomics.nll.stderr
std-uncopyable-atomics.rs
std-uncopyable-atomics.stderr
stmt_expr_attrs_no_feature.rs
stmt_expr_attrs_no_feature.stderr
substs-ppaux.normal.stderr
substs-ppaux.rs
substs-ppaux.verbose.stderr
suffixed-literal-meta.rs
suffixed-literal-meta.stderr
super-at-top-level.rs
super-at-top-level.stderr
suppressed-error.rs
suppressed-error.stderr
switched-expectations.rs
switched-expectations.stderr
syntax-extension-minor.rs
syntax-extension-minor.stderr
syntax-trait-polarity-feature-gate.rs
syntax-trait-polarity-feature-gate.stderr
syntax-trait-polarity.rs
syntax-trait-polarity.stderr
synthetic-param.rs
synthetic-param.stderr
tag-that-dare-not-speak-its-name.rs
tag-that-dare-not-speak-its-name.stderr
tag-type-args.rs
tag-type-args.stderr
tag-variant-cast-non-nullary.rs
tag-variant-cast-non-nullary.stderr
tag-variant-disr-dup.rs
tag-variant-disr-dup.stderr
tail-typeck.rs
tail-typeck.stderr
target-feature-gate.rs
target-feature-gate.stderr
target-feature-wrong.rs
target-feature-wrong.stderr
terr-in-field.rs
terr-in-field.stderr
terr-sorts.rs
terr-sorts.stderr
test-cfg.rs
test-cfg.stderr
test-on-macro.rs Introduce Custom Test Frameworks 2018-09-04 22:33:00 -07:00
test-on-macro.stderr Introduce Custom Test Frameworks 2018-09-04 22:33:00 -07:00
test-should-panic-attr.rs
test-should-panic-attr.stderr
test-warns-dead-code.rs
test-warns-dead-code.stderr
thread-local-in-ctfe.nll.stderr
thread-local-in-ctfe.rs
thread-local-in-ctfe.stderr
tool_lints-fail.rs
tool_lints-fail.stderr
tool_lints.rs
tool_lints.stderr
trace_macros-format.rs
trace_macros-format.stderr
trace_macros-gate.rs
trace_macros-gate.stderr
trait-alias-fail.rs
trait-alias-fail.stderr
trivial_casts.rs
trivial_casts.stderr
try-on-option.rs
try-on-option.stderr
try-operator-on-main.rs
try-operator-on-main.stderr
try-poll.rs
tutorial-suffix-inference-test.rs
tutorial-suffix-inference-test.stderr
type_length_limit.rs
type_length_limit.stderr
ui-testing-optout.rs
ui-testing-optout.stderr
unconstrained-none.rs
unconstrained-none.stderr
unconstrained-ref.rs
unconstrained-ref.stderr
underscore-ident-matcher.rs
underscore-ident-matcher.stderr
unevaluated_fixed_size_array_len.rs
unevaluated_fixed_size_array_len.stderr
union-ub-fat-ptr.rs
union-ub-fat-ptr.stderr
unique-object-noncopyable.rs
unique-object-noncopyable.stderr
unique-pinned-nocopy.rs
unique-pinned-nocopy.stderr
unknown-language-item.rs
unknown-language-item.stderr
unknown-lint-tool-name.rs
unknown-lint-tool-name.stderr
unknown-tool-name.rs
unknown-tool-name.stderr
unop-move-semantics.nll.stderr
unop-move-semantics.rs
unop-move-semantics.stderr
unop-neg-bool.rs
unop-neg-bool.stderr
unrestricted-attribute-tokens.rs
unsized3.rs
unsized3.stderr
unsized5.rs
unsized5.stderr
unsized6.rs
unsized6.stderr
unsized7.rs
unsized7.stderr
unspecified-self-in-trait-ref.rs
unspecified-self-in-trait-ref.stderr
unsupported-cast.rs
unsupported-cast.stderr
use-self-in-inner-fn.rs reword label as per review 2018-09-05 09:56:01 -07:00
use-self-in-inner-fn.stderr reword label as per review 2018-09-05 09:56:01 -07:00
used.rs stabilize #[used] 2018-09-09 15:43:28 +02:00
used.stderr update ui tests 2018-09-09 22:08:42 +02:00
useless_comment.rs
useless_comment.stderr
useless-pub.rs
useless-pub.stderr
user-defined-macro-rules.rs cleanup: Add main functions to some UI tests 2018-08-31 18:56:15 +03:00
user-defined-macro-rules.stderr cleanup: Add main functions to some UI tests 2018-08-31 18:56:15 +03:00
utf8_idents.rs
utf8_idents.stderr
vector-cast-weirdness.rs
vector-cast-weirdness.stderr
vector-no-ann.rs
vector-no-ann.stderr
vtable-res-trait-param.rs
vtable-res-trait-param.stderr
walk-struct-literal-with.nll.stderr
walk-struct-literal-with.rs
walk-struct-literal-with.stderr
warn-path-statement.rs
warn-path-statement.stderr
wasm-custom-section-relocations.rs cleanup: Add main functions to some UI tests 2018-08-31 18:56:15 +03:00
wasm-custom-section-relocations.stderr cleanup: Add main functions to some UI tests 2018-08-31 18:56:15 +03:00
wasm-import-module.rs
wasm-import-module.stderr
while-let.rs
while-let.stderr
while-type-error.rs
while-type-error.stderr
windows-subsystem-invalid.rs
windows-subsystem-invalid.stderr
write-to-static-mut-in-static.rs
write-to-static-mut-in-static.stderr
writing-to-immutable-vec.nll.stderr
writing-to-immutable-vec.rs
writing-to-immutable-vec.stderr
wrong-mul-method-signature.rs
wrong-mul-method-signature.stderr
wrong-ret-type.rs
wrong-ret-type.stderr
xc-private-method2.rs
xc-private-method2.stderr
xc-private-method.rs
xc-private-method.stderr