rust/src/test/ui/hygiene
Nicholas Nethercote 3532863a96 Change how Symbol::Debug works.
Currently, `Symbol::Debug` and `Symbol::Display` produce the same
output; neither wraps the symbol in double quotes.

This commit changes `Symbol::Debug` so it wraps the symbol in quotes.
This change brings `Symbol`'s behaviour in line with `String` and
`InternedString`. The change requires a couple of trivial test output
adjustments.
2019-10-18 13:26:03 +11:00
..
auxiliary Make use of hygiene in AST passes 2019-09-05 15:07:16 +01:00
arguments.rs
arguments.stderr
assoc_item_ctxt.rs
assoc_item_ctxt.stderr
assoc_ty_bindings.rs
cross-crate-codegen-attrs.rs Stop emulating cross-crate hygiene with gensyms 2019-08-17 08:59:36 +01:00
dollar-crate-modern.rs
dollar-crate-modern.stderr
duplicate_lifetimes.rs
duplicate_lifetimes.stderr
eager-from-opaque-2.rs Add a regression test for issue #63460 2019-08-21 12:53:11 +03:00
eager-from-opaque.rs expand: Do not do questionable span adjustment before eagerly expanding an expression 2019-08-21 11:53:39 +03:00
expansion-info-reset.rs
expansion-info-reset.stderr Change all run-pass hygiene tests to ui tests 2019-07-16 21:20:39 +01:00
extern-prelude-from-opaque-fail.rs
extern-prelude-from-opaque-fail.stderr Use heuristics for capitalization warning in suggestions 2019-10-14 14:32:10 -07:00
fields-definition.rs
fields-definition.stderr
fields-move.rs
fields-move.stderr
fields-numeric-borrowck.rs
fields-numeric-borrowck.stderr
fields.rs
fields.stderr
for-loop.rs
for-loop.stderr
format-args.rs Remove gensym from format_args 2019-08-05 23:50:47 +01:00
generate-mod.rs
generate-mod.stderr
generic_params.rs
generic_params.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
globs.rs
globs.stderr Bring attention to suggestions when the only difference is capitalization 2019-10-13 21:48:39 -07:00
hygiene-dodging-1.rs
hygiene.rs
hygienic-label-1.rs
hygienic-label-1.stderr
hygienic-label-2.rs
hygienic-label-2.stderr
hygienic-label-3.rs
hygienic-label-3.stderr
hygienic-label-4.rs
hygienic-label-4.stderr
hygienic-labels-in-let.rs
hygienic-labels-in-let.stderr
hygienic-labels.rs
hygienic-labels.stderr
impl_items.rs
impl_items.stderr
intercrate.rs
intercrate.stderr
issue-44128.rs
issue-47311.rs
issue-47312.rs
issue-61574-const-parameters.rs Add another test for const parameter (non) hygiene. 2019-07-29 20:04:07 +01:00
issue-61574-const-parameters.stderr --bless tests due to INCOMPLETE_FEATURES being a lint. 2019-07-30 10:43:32 +02:00
items.rs
legacy_interaction.rs
lexical.rs
local_inner_macros.rs
nested_macro_privacy.rs
nested_macro_privacy.stderr
no_implicit_prelude-2018.rs resolve: Remove ! from "cannot find" diagnostics for macros 2019-09-15 13:22:07 +03:00
no_implicit_prelude-2018.stderr resolve: Remove ! from "cannot find" diagnostics for macros 2019-09-15 13:22:07 +03:00
no_implicit_prelude.rs resolve: Remove ! from "cannot find" diagnostics for macros 2019-09-15 13:22:07 +03:00
no_implicit_prelude.stderr Fixed grammar in one diagnostic and blessed tests. 2019-09-30 01:15:25 +01:00
pattern-macro.rs
pattern-macro.stderr
prelude-import-hygiene.rs Make use of hygiene in AST passes 2019-09-05 15:07:16 +01:00
privacy-early.rs resolve: Move late resolution into a separate visitor 2019-08-10 13:15:15 +03:00
privacy-early.stderr resolve: Move late resolution into a separate visitor 2019-08-10 13:15:15 +03:00
privacy.rs
privacy.stderr
rustc-macro-transparency.rs
rustc-macro-transparency.stderr Bring attention to suggestions when the only difference is capitalization 2019-10-13 21:48:39 -07:00
specialization.rs
stdlib-prelude-from-opaque-early.rs
stdlib-prelude-from-opaque-late.rs
trait_items-2.rs
trait_items.rs
trait_items.stderr Fixed grammar in one diagnostic and blessed tests. 2019-09-30 01:15:25 +01:00
transparent-basic.rs
unpretty-debug.rs
unpretty-debug.stdout Change how Symbol::Debug works. 2019-10-18 13:26:03 +11:00
wrap_unhygienic_example.rs
xcrate.rs