rust/src
David Tolnay 45ee336007
Fix {:#?} representation of proc_macro::Literal
Before:

    TokenStream [
        Ident {
            ident: "name",
            span: #0 bytes(37..41),
        },
        Punct {
            ch: '=',
            spacing: Alone,
            span: #0 bytes(42..43),
        },
        Literal { lit: Lit { kind: Str, symbol: "SNPP", suffix: None }, span: Span { lo: BytePos(44), hi: BytePos(50), ctxt: #0 } },
        Punct {
            ch: ',',
            spacing: Alone,
            span: #0 bytes(50..51),
        },
        Ident {
            ident: "owner",
            span: #0 bytes(56..61),
        },
        Punct {
            ch: '=',
            spacing: Alone,
            span: #0 bytes(62..63),
        },
        Literal { lit: Lit { kind: Str, symbol: "Canary M Burns", suffix: None }, span: Span { lo: BytePos(64), hi: BytePos(80), ctxt: #0 } },
    ]

After:

    TokenStream [
        Ident {
            ident: "name",
            span: #0 bytes(37..41),
        },
        Punct {
            ch: '=',
            spacing: Alone,
            span: #0 bytes(42..43),
        },
        Literal {
            kind: Str,
            symbol: "SNPP",
            suffix: None,
            span: #0 bytes(44..50),
        },
        Punct {
            ch: ',',
            spacing: Alone,
            span: #0 bytes(50..51),
        },
        Ident {
            ident: "owner",
            span: #0 bytes(56..61),
        },
        Punct {
            ch: '=',
            spacing: Alone,
            span: #0 bytes(62..63),
        },
        Literal {
            kind: Str,
            symbol: "Canary M Burns",
            suffix: None,
            span: #0 bytes(64..80),
        },
    ]
2020-05-15 08:36:33 -07:00
..
bootstrap Rollup merge of #71964 - jcotton42:bootstrap_decode_none_windows, r=Mark-Simulacrum 2020-05-14 10:22:54 +02:00
build_helper
ci Configure cache domain for GHA 2020-05-11 10:50:53 -04:00
doc Update books 2020-05-12 11:27:03 -07:00
etc Enforce Python 3 as much as possible 2020-04-10 09:09:58 -04:00
liballoc Auto merge of #71321 - matthewjasper:alloc-min-spec, r=sfackler 2020-05-14 23:22:47 +00:00
libarena
libcore Auto merge of #71321 - matthewjasper:alloc-min-spec, r=sfackler 2020-05-14 23:22:47 +00:00
libfmt_macros Dogfood more or_patterns in the compiler 2020-04-19 07:33:58 -07:00
libgraphviz
libpanic_abort Bump bootstrap compiler 2020-04-25 09:25:33 -04:00
libpanic_unwind Bump bootstrap compiler 2020-04-25 09:25:33 -04:00
libproc_macro Fix {:#?} representation of proc_macro::Literal 2020-05-15 08:36:33 -07:00
libprofiler_builtins Require compiler-rt root at ../src/llvm-project/compiler-rt 2020-04-11 17:49:16 -04:00
librustc_apfloat Dogfood more or_patterns in the compiler 2020-04-19 07:33:58 -07:00
librustc_ast Rollup merge of #71555 - cjgillot:nameless, r=matthewjasper 2020-05-09 13:36:39 +02:00
librustc_ast_lowering use min_specialization for some rustc crates where it requires no changes 2020-05-10 11:25:00 +02:00
librustc_ast_passes Remove ast::{Ident, Name} reexports. 2020-05-08 13:13:15 +02:00
librustc_ast_pretty Fix tests 2020-05-08 13:57:08 +02:00
librustc_attr Fix clippy warnings 2020-05-11 17:13:32 +02:00
librustc_builtin_macros Remove ast::{Ident, Name} reexports. 2020-05-08 13:13:15 +02:00
librustc_codegen_llvm Rollup merge of #71555 - cjgillot:nameless, r=matthewjasper 2020-05-09 13:36:39 +02:00
librustc_codegen_ssa Rollup merge of #72126 - nnethercote:change-WorkProduct-saved_files, r=alexcrichton 2020-05-14 18:21:50 +02:00
librustc_data_structures Rollup merge of #72109 - matthiaskrgr:cl8ppy, r=Dylan-DPC 2020-05-11 22:21:08 +02:00
librustc_driver Remove ast::{Ident, Name} reexports. 2020-05-08 13:13:15 +02:00
librustc_error_codes Rollup merge of #72191 - GuillaumeGomez:cleanup-e0589, r=Dylan-DPC 2020-05-14 18:21:57 +02:00
librustc_errors Simplify the error Registry methods a little 2020-05-04 11:52:15 -07:00
librustc_expand Fix {:#?} representation of proc_macro::Literal 2020-05-15 08:36:33 -07:00
librustc_feature Implement RFC 2523, #[cfg(version(..))] 2020-05-03 02:42:07 +02:00
librustc_fs_util
librustc_hir use min_specialization for some rustc crates where it requires no changes 2020-05-10 11:25:00 +02:00
librustc_hir_pretty Remove ast::{Ident, Name} reexports. 2020-05-08 13:13:15 +02:00
librustc_incremental Change WorkProduct::saved_files to an Option. 2020-05-12 17:55:07 +10:00
librustc_index Use assoc integer constants in librustc_* 2020-04-07 00:43:16 +02:00
librustc_infer Rollup merge of #72087 - matthewjasper:regionck-hang, r=nikomatsakis 2020-05-14 18:21:48 +02:00
librustc_interface Fix clippy warnings 2020-05-11 17:13:32 +02:00
librustc_lexer Revert "Rollup merge of #71372 - ayushmishra2005:shebang_stripping, r=estebank" 2020-04-28 13:02:58 +03:00
librustc_lint Rollup merge of #71910 - mibac138:necessary-paren, r=cuviper 2020-05-14 18:21:46 +02:00
librustc_llvm Don't skip building LLVM if already built 2020-05-02 18:43:55 -04:00
librustc_macros Monomorphise load_from_disk_and_cache_in_memory. 2020-05-01 14:29:35 +02:00
librustc_metadata use min_specialization for some rustc crates where it requires no changes 2020-05-10 11:25:00 +02:00
librustc_middle Rollup merge of #72170 - lcnr:lang_item, r=oli-obk 2020-05-14 18:21:55 +02:00
librustc_mir Rollup merge of #72170 - lcnr:lang_item, r=oli-obk 2020-05-14 18:21:55 +02:00
librustc_mir_build Rollup merge of #72170 - lcnr:lang_item, r=oli-obk 2020-05-14 18:21:55 +02:00
librustc_parse Remove ast::{Ident, Name} reexports. 2020-05-08 13:13:15 +02:00
librustc_passes Fix clippy warnings 2020-05-11 17:13:32 +02:00
librustc_plugin_impl Remove ast::{Ident, Name} reexports. 2020-05-08 13:13:15 +02:00
librustc_privacy Remove ty::UnnormalizedProjection 2020-05-12 01:56:29 -04:00
librustc_query_system Rollup merge of #72126 - nnethercote:change-WorkProduct-saved_files, r=alexcrichton 2020-05-14 18:21:50 +02:00
librustc_resolve Remove ast::{Ident, Name} reexports. 2020-05-08 13:13:15 +02:00
librustc_save_analysis Remove ast::{Ident, Name} reexports. 2020-05-08 13:13:15 +02:00
librustc_session Rollup merge of #72067 - jonas-schievink:fuel-warn, r=varkor 2020-05-11 22:21:01 +02:00
librustc_span use min_specialization for some rustc crates where it requires no changes 2020-05-10 11:25:00 +02:00
librustc_symbol_mangling Remove ty::UnnormalizedProjection 2020-05-12 01:56:29 -04:00
librustc_target Rollup merge of #71234 - maurer:init-array, r=cuviper 2020-05-09 13:36:32 +02:00
librustc_trait_selection Rollup merge of #72194 - doctorn:dispatch-from-dyn-ice, r=estebank 2020-05-14 18:21:59 +02:00
librustc_traits Rollup merge of #72150 - jackh726:unnorm_projection, r=nikomatsakis 2020-05-14 10:22:59 +02:00
librustc_ty Remove ty::UnnormalizedProjection 2020-05-12 01:56:29 -04:00
librustc_typeck Rollup merge of #72170 - lcnr:lang_item, r=oli-obk 2020-05-14 18:21:55 +02:00
librustdoc Rollup merge of #72150 - jackh726:unnorm_projection, r=nikomatsakis 2020-05-14 10:22:59 +02:00
libserialize use min_specialization for some rustc crates where it requires no changes 2020-05-10 11:25:00 +02:00
libstd Warn against thread::sleep in async fn 2020-05-12 16:38:02 +01:00
libterm Replace filter_map().next() calls with find_map() 2020-04-24 20:03:45 -07:00
libtest Fix clippy warnings 2020-05-11 17:13:32 +02:00
libunwind Use -fvisibility=hidden for libunwind 2020-05-05 12:41:23 -07:00
llvm-project@3ba91917e5 Store LLVM bitcode in object files, not compressed 2020-04-29 11:57:26 -07:00
rtstartup
rustc
rustllvm Rollup merge of #71234 - maurer:init-array, r=cuviper 2020-05-09 13:36:32 +02:00
stdarch@d10eefc622 Update stdarch submodule 2020-04-24 22:15:12 +01:00
test Fix {:#?} representation of proc_macro::Literal 2020-05-15 08:36:33 -07:00
tools Auto merge of #72058 - RalfJung:no-dist-lldb, r=Mark-Simulacrum 2020-05-14 02:50:34 +00:00
README.md
stage0.txt Bump rustfmt to most recently shipped 2020-04-25 09:25:33 -04:00

This directory contains the source code of the rust project, including:

  • rustc and its tests
  • libstd
  • Various submodules for tools, like rustdoc, rls, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.