Rollup merge of #41295 - frewsxcv:frewsxcxv-unstability, r=steveklabnik

Add top level sections to the Unstable Book.

Prior to this commit, the contents of the Unstable Book were assumed to
be unstable features. This commit moves features into 'language features'
or 'library features' subsections. It also moves the 'linker_flavor'
compiler flag into a new 'Compiler Flags' subsection.

Even though it was helpful, I removed the tidy check that
cross-references the SUMMARY.md links with the Unstable Book directory
contents just because it would be difficult to maintain.

Relevant PR: https://github.com/rust-lang/rust/issues/41142.
This commit is contained in:
Corey Farwell 2017-04-19 21:55:36 -04:00 committed by GitHub
commit a97309d8c8
238 changed files with 309 additions and 302 deletions

3
src/Cargo.lock generated
View File

@ -922,9 +922,6 @@ dependencies = [
[[package]]
name = "tidy"
version = "0.1.0"
dependencies = [
"regex 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "toml"

@ -1 +1 @@
Subproject commit beea82b9230cd641dd1ca263cf31025ace4aebb5
Subproject commit ad7de198561b3a12217ea2da76d796d9c7fc0ed3

View File

@ -1,4 +1,4 @@
% The (old) Rust Compiler Plugins Guide
This content has moved into
[the Unstable Book](unstable-book/plugin.html).
[the Unstable Book](unstable-book/language-features/plugin.html).

@ -1 +1 @@
Subproject commit b060f732145f2fa16df84c74e511df08a3a47c5d
Subproject commit 6b0de90d87dda15e323ef24cdf7ed873ac5cf4d3

View File

@ -1,226 +1,228 @@
[The Unstable Book](the-unstable-book.md)
- [abi_msp430_interrupt](abi-msp430-interrupt.md)
- [abi_ptx](abi-ptx.md)
- [abi_sysv64](abi-sysv64.md)
- [abi_unadjusted](abi-unadjusted.md)
- [abi_vectorcall](abi-vectorcall.md)
- [abi_x86_interrupt](abi-x86-interrupt.md)
- [advanced_slice_patterns](advanced-slice-patterns.md)
- [alloc](alloc.md)
- [alloc_jemalloc](alloc-jemalloc.md)
- [alloc_system](alloc-system.md)
- [allocator](allocator.md)
- [allow_internal_unstable](allow-internal-unstable.md)
- [as_c_str](as-c-str.md)
- [as_unsafe_cell](as-unsafe-cell.md)
- [ascii_ctype](ascii-ctype.md)
- [asm](asm.md)
- [associated_consts](associated-consts.md)
- [associated_type_defaults](associated-type-defaults.md)
- [attr_literals](attr-literals.md)
- [binary_heap_extras](binary-heap-extras.md)
- [binary_heap_peek_mut_pop](binary-heap-peek-mut-pop.md)
- [borrow_state](borrow-state.md)
- [box_heap](box-heap.md)
- [box_patterns](box-patterns.md)
- [box_syntax](box-syntax.md)
- [c_void_variant](c-void-variant.md)
- [catch_expr](catch-expr.md)
- [cfg_target_feature](cfg-target-feature.md)
- [cfg_target_has_atomic](cfg-target-has-atomic.md)
- [cfg_target_thread_local](cfg-target-thread-local.md)
- [cfg_target_vendor](cfg-target-vendor.md)
- [char_escape_debug](char-escape-debug.md)
- [closure_to_fn_coercion](closure-to-fn-coercion.md)
- [coerce_unsized](coerce-unsized.md)
- [collection_placement](collection-placement.md)
- [collections](collections.md)
- [collections_range](collections-range.md)
- [command_envs](command-envs.md)
- [compiler_fences](compiler-fences.md)
- [compiler_builtins](compiler-builtins.md)
- [compiler_builtins_lib](compiler-builtins-lib.md)
- [concat_idents](concat-idents.md)
- [concat_idents_macro](concat-idents-macro.md)
- [conservative_impl_trait](conservative-impl-trait.md)
- [const_fn](const-fn.md)
- [const_indexing](const-indexing.md)
- [core_char_ext](core-char-ext.md)
- [core_float](core-float.md)
- [core_intrinsics](core-intrinsics.md)
- [core_panic](core-panic.md)
- [core_private_bignum](core-private-bignum.md)
- [core_private_diy_float](core-private-diy-float.md)
- [core_slice_ext](core-slice-ext.md)
- [core_str_ext](core-str-ext.md)
- [custom_attribute](custom-attribute.md)
- [custom_derive](custom-derive.md)
- [dec2flt](dec2flt.md)
- [decode_utf8](decode-utf8.md)
- [default_type_parameter_fallback](default-type-parameter-fallback.md)
- [derive_clone_copy](derive-clone-copy.md)
- [derive_eq](derive-eq.md)
- [discriminant_value](discriminant-value.md)
- [drop_types_in_const](drop-types-in-const.md)
- [dropck_eyepatch](dropck-eyepatch.md)
- [dropck_parametricity](dropck-parametricity.md)
- [enumset](enumset.md)
- [error_type_id](error-type-id.md)
- [exact_size_is_empty](exact-size-is-empty.md)
- [exclusive_range_pattern](exclusive-range-pattern.md)
- [fd](fd.md)
- [fd_read](fd-read.md)
- [fixed_size_array](fixed-size-array.md)
- [float_bits_conv](float-bits-conv.md)
- [float_extras](float-extras.md)
- [flt2dec](flt2dec.md)
- [fmt_flags_align](fmt-flags-align.md)
- [fmt_internals](fmt-internals.md)
- [fn_traits](fn-traits.md)
- [fnbox](fnbox.md)
- [from_utf8_error_as_bytes](from_utf8_error_as_bytes.md)
- [fundamental](fundamental.md)
- [fused](fused.md)
- [future_atomic_orderings](future-atomic-orderings.md)
- [generic_param_attrs](generic-param-attrs.md)
- [get_type_id](get-type-id.md)
- [global_asm](global_asm.md)
- [heap_api](heap-api.md)
- [i128](i128.md)
- [i128_type](i128-type.md)
- [inclusive_range](inclusive-range.md)
- [inclusive_range_syntax](inclusive-range-syntax.md)
- [int_error_internals](int-error-internals.md)
- [integer_atomics](integer-atomics.md)
- [into_boxed_c_str](into-boxed-c-str.md)
- [into_boxed_os_str](into-boxed-os-str.md)
- [into_boxed_path](into-boxed-path.md)
- [intrinsics](intrinsics.md)
- [io](io.md)
- [io_error_internals](io-error-internals.md)
- [ip](ip.md)
- [is_unique](is-unique.md)
- [iter_rfind](iter-rfind.md)
- [lang_items](lang-items.md)
- [libstd_io_internals](libstd-io-internals.md)
- [libstd_sys_internals](libstd-sys-internals.md)
- [libstd_thread_internals](libstd-thread-internals.md)
- [link_args](link-args.md)
- [link_cfg](link-cfg.md)
- [link_llvm_intrinsics](link-llvm-intrinsics.md)
- [linkage](linkage.md)
- [linked_list_extras](linked-list-extras.md)
- [linker_flavor](linker-flavor.md)
- [log_syntax](log-syntax.md)
- [lookup_host](lookup-host.md)
- [loop_break_value](loop-break-value.md)
- [macro_reexport](macro-reexport.md)
- [macro_vis_matcher](macro-vis-matcher.md)
- [main](main.md)
- [manually_drop](manually-drop.md)
- [map_entry_recover_keys](map-entry-recover-keys.md)
- [mpsc_select](mpsc-select.md)
- [n16](n16.md)
- [naked_functions](naked-functions.md)
- [needs_allocator](needs-allocator.md)
- [needs_panic_runtime](needs-panic-runtime.md)
- [never_type](never-type.md)
- [never_type_impls](never-type-impls.md)
- [no_core](no-core.md)
- [no_debug](no-debug.md)
- [non_ascii_idents](non-ascii-idents.md)
- [nonzero](nonzero.md)
- [offset_to](offset-to.md)
- [omit_gdb_pretty_printer_section](omit-gdb-pretty-printer-section.md)
- [on_unimplemented](on-unimplemented.md)
- [once_poison](once-poison.md)
- [oom](oom.md)
- [optin_builtin_traits](optin-builtin-traits.md)
- [option_entry](option-entry.md)
- [osstring_shrink_to_fit](osstring-shrink-to-fit.md)
- [overlapping_marker_traits](overlapping-marker-traits.md)
- [panic_abort](panic-abort.md)
- [panic_runtime](panic-runtime.md)
- [panic_unwind](panic-unwind.md)
- [pattern](pattern.md)
- [peek](peek.md)
- [placement_in](placement-in.md)
- [placement_in_syntax](placement-in-syntax.md)
- [placement_new_protocol](placement-new-protocol.md)
- [platform_intrinsics](platform-intrinsics.md)
- [plugin](plugin.md)
- [plugin_registrar](plugin-registrar.md)
- [prelude_import](prelude-import.md)
- [print](print.md)
- [proc_macro](proc-macro.md)
- [proc_macro_internals](proc-macro-internals.md)
- [process_try_wait](process-try-wait.md)
- [question_mark_carrier](question-mark-carrier.md)
- [quote](quote.md)
- [rand](rand.md)
- [range_contains](range-contains.md)
- [raw](raw.md)
- [rc_would_unwrap](rc-would-unwrap.md)
- [relaxed_adts](relaxed-adts.md)
- [repr_simd](repr-simd.md)
- [retain_hash_collection](retain-hash-collection.md)
- [reverse_cmp_key](reverse-cmp-key.md)
- [rt](rt.md)
- [rustc_attrs](rustc-attrs.md)
- [rustc_diagnostic_macros](rustc-diagnostic-macros.md)
- [rustc_private](rustc-private.md)
- [rvalue_static_promotion](rvalue-static-promotion.md)
- [sanitizer_runtime](sanitizer-runtime.md)
- [sanitizer_runtime_lib](sanitizer-runtime-lib.md)
- [set_stdio](set-stdio.md)
- [shared](shared.md)
- [simd](simd.md)
- [simd_ffi](simd-ffi.md)
- [sip_hash_13](sip-hash-13.md)
- [slice_concat_ext](slice-concat-ext.md)
- [slice_get_slice](slice-get-slice.md)
- [slice_patterns](slice-patterns.md)
- [slice_rsplit](slice-rsplit.md)
- [sort_internals](sort-internals.md)
- [sort_unstable](sort-unstable.md)
- [specialization](specialization.md)
- [staged_api](staged-api.md)
- [start](start.md)
- [static_nobundle](static-nobundle.md)
- [step_by](step-by.md)
- [step_trait](step-trait.md)
- [stmt_expr_attributes](stmt-expr-attributes.md)
- [str_checked_slicing](str-checked-slicing.md)
- [str_escape](str-escape.md)
- [str_internals](str-internals.md)
- [str_mut_extras](str-mut-extras.md)
- [struct_field_attributes](struct-field-attributes.md)
- [structural_match](structural-match.md)
- [target_feature](target-feature.md)
- [test](test.md)
- [thread_id](thread-id.md)
- [thread_local](thread-local.md)
- [thread_local_internals](thread-local-internals.md)
- [thread_local_state](thread-local-state.md)
- [toowned_clone_into](toowned-clone-into.md)
- [trace_macros](trace-macros.md)
- [trusted_len](trusted-len.md)
- [try_from](try-from.md)
- [type_ascription](type-ascription.md)
- [unboxed_closures](unboxed-closures.md)
- [unicode](unicode.md)
- [unique](unique.md)
- [unsize](unsize.md)
- [untagged_unions](untagged-unions.md)
- [unwind_attributes](unwind-attributes.md)
- [update_panic_count](update-panic-count.md)
- [use_extern_macros](use-extern-macros.md)
- [used](used.md)
- [utf8_error_error_len](utf8-error-error-len.md)
- [vec_remove_item](vec-remove-item.md)
- [windows_c](windows-c.md)
- [windows_handle](windows-handle.md)
- [windows_net](windows-net.md)
- [windows_stdio](windows-stdio.md)
- [zero_one](zero-one.md)
- [Compiler flags](compiler-flags.md)
- [linker_flavor](compiler-flags/linker-flavor.md)
- [Language features](language-features.md)
- [abi_msp430_interrupt](language-features/abi-msp430-interrupt.md)
- [abi_ptx](language-features/abi-ptx.md)
- [abi_sysv64](language-features/abi-sysv64.md)
- [abi_unadjusted](language-features/abi-unadjusted.md)
- [abi_vectorcall](language-features/abi-vectorcall.md)
- [abi_x86_interrupt](language-features/abi-x86-interrupt.md)
- [advanced_slice_patterns](language-features/advanced-slice-patterns.md)
- [allocator](language-features/allocator.md)
- [allow_internal_unstable](language-features/allow-internal-unstable.md)
- [asm](language-features/asm.md)
- [associated_consts](language-features/associated-consts.md)
- [associated_type_defaults](language-features/associated-type-defaults.md)
- [attr_literals](language-features/attr-literals.md)
- [box_patterns](language-features/box-patterns.md)
- [box_syntax](language-features/box-syntax.md)
- [catch_expr](language-features/catch-expr.md)
- [cfg_target_feature](language-features/cfg-target-feature.md)
- [cfg_target_has_atomic](language-features/cfg-target-has-atomic.md)
- [cfg_target_thread_local](language-features/cfg-target-thread-local.md)
- [cfg_target_vendor](language-features/cfg-target-vendor.md)
- [closure_to_fn_coercion](language-features/closure-to-fn-coercion.md)
- [compiler_builtins](language-features/compiler-builtins.md)
- [concat_idents](language-features/concat-idents.md)
- [conservative_impl_trait](language-features/conservative-impl-trait.md)
- [const_fn](language-features/const-fn.md)
- [const_indexing](language-features/const-indexing.md)
- [custom_attribute](language-features/custom-attribute.md)
- [custom_derive](language-features/custom-derive.md)
- [default_type_parameter_fallback](language-features/default-type-parameter-fallback.md)
- [drop_types_in_const](language-features/drop-types-in-const.md)
- [dropck_eyepatch](language-features/dropck-eyepatch.md)
- [dropck_parametricity](language-features/dropck-parametricity.md)
- [exclusive_range_pattern](language-features/exclusive-range-pattern.md)
- [fundamental](language-features/fundamental.md)
- [generic_param_attrs](language-features/generic-param-attrs.md)
- [global_asm](language-features/global_asm.md)
- [i128_type](language-features/i128-type.md)
- [inclusive_range_syntax](language-features/inclusive-range-syntax.md)
- [intrinsics](language-features/intrinsics.md)
- [lang_items](language-features/lang-items.md)
- [link_args](language-features/link-args.md)
- [link_cfg](language-features/link-cfg.md)
- [link_llvm_intrinsics](language-features/link-llvm-intrinsics.md)
- [linkage](language-features/linkage.md)
- [log_syntax](language-features/log-syntax.md)
- [loop_break_value](language-features/loop-break-value.md)
- [macro_reexport](language-features/macro-reexport.md)
- [macro_vis_matcher](language-features/macro-vis-matcher.md)
- [main](language-features/main.md)
- [naked_functions](language-features/naked-functions.md)
- [needs_allocator](language-features/needs-allocator.md)
- [needs_panic_runtime](language-features/needs-panic-runtime.md)
- [never_type](language-features/never-type.md)
- [no_core](language-features/no-core.md)
- [no_debug](language-features/no-debug.md)
- [non_ascii_idents](language-features/non-ascii-idents.md)
- [omit_gdb_pretty_printer_section](language-features/omit-gdb-pretty-printer-section.md)
- [on_unimplemented](language-features/on-unimplemented.md)
- [optin_builtin_traits](language-features/optin-builtin-traits.md)
- [overlapping_marker_traits](language-features/overlapping-marker-traits.md)
- [panic_runtime](language-features/panic-runtime.md)
- [placement_in_syntax](language-features/placement-in-syntax.md)
- [platform_intrinsics](language-features/platform-intrinsics.md)
- [plugin](language-features/plugin.md)
- [plugin_registrar](language-features/plugin-registrar.md)
- [prelude_import](language-features/prelude-import.md)
- [proc_macro](language-features/proc-macro.md)
- [quote](language-features/quote.md)
- [relaxed_adts](language-features/relaxed-adts.md)
- [repr_simd](language-features/repr-simd.md)
- [rustc_attrs](language-features/rustc-attrs.md)
- [rustc_diagnostic_macros](language-features/rustc-diagnostic-macros.md)
- [rvalue_static_promotion](language-features/rvalue-static-promotion.md)
- [sanitizer_runtime](language-features/sanitizer-runtime.md)
- [simd](language-features/simd.md)
- [simd_ffi](language-features/simd-ffi.md)
- [slice_patterns](language-features/slice-patterns.md)
- [specialization](language-features/specialization.md)
- [staged_api](language-features/staged-api.md)
- [start](language-features/start.md)
- [static_nobundle](language-features/static-nobundle.md)
- [stmt_expr_attributes](language-features/stmt-expr-attributes.md)
- [struct_field_attributes](language-features/struct-field-attributes.md)
- [structural_match](language-features/structural-match.md)
- [target_feature](language-features/target-feature.md)
- [thread_local](language-features/thread-local.md)
- [trace_macros](language-features/trace-macros.md)
- [type_ascription](language-features/type-ascription.md)
- [unboxed_closures](language-features/unboxed-closures.md)
- [untagged_unions](language-features/untagged-unions.md)
- [unwind_attributes](language-features/unwind-attributes.md)
- [use_extern_macros](language-features/use-extern-macros.md)
- [used](language-features/used.md)
- [Library Features](library-features.md)
- [alloc_jemalloc](library-features/alloc-jemalloc.md)
- [alloc_system](library-features/alloc-system.md)
- [alloc](library-features/alloc.md)
- [as_c_str](library-features/as-c-str.md)
- [as_unsafe_cell](library-features/as-unsafe-cell.md)
- [ascii_ctype](library-features/ascii-ctype.md)
- [binary_heap_extras](library-features/binary-heap-extras.md)
- [binary_heap_peek_mut_pop](library-features/binary-heap-peek-mut-pop.md)
- [borrow_state](library-features/borrow-state.md)
- [box_heap](library-features/box-heap.md)
- [c_void_variant](library-features/c-void-variant.md)
- [char_escape_debug](library-features/char-escape-debug.md)
- [coerce_unsized](library-features/coerce-unsized.md)
- [collection_placement](library-features/collection-placement.md)
- [collections_range](library-features/collections-range.md)
- [collections](library-features/collections.md)
- [command_envs](library-features/command-envs.md)
- [compiler_builtins_lib](library-features/compiler-builtins-lib.md)
- [compiler_fences](library-features/compiler-fences.md)
- [concat_idents_macro](library-features/concat-idents-macro.md)
- [core_char_ext](library-features/core-char-ext.md)
- [core_float](library-features/core-float.md)
- [core_intrinsics](library-features/core-intrinsics.md)
- [core_panic](library-features/core-panic.md)
- [core_private_bignum](library-features/core-private-bignum.md)
- [core_private_diy_float](library-features/core-private-diy-float.md)
- [core_slice_ext](library-features/core-slice-ext.md)
- [core_str_ext](library-features/core-str-ext.md)
- [dec2flt](library-features/dec2flt.md)
- [decode_utf8](library-features/decode-utf8.md)
- [derive_clone_copy](library-features/derive-clone-copy.md)
- [derive_eq](library-features/derive-eq.md)
- [discriminant_value](library-features/discriminant-value.md)
- [enumset](library-features/enumset.md)
- [error_type_id](library-features/error-type-id.md)
- [exact_size_is_empty](library-features/exact-size-is-empty.md)
- [fd](library-features/fd.md)
- [fd_read](library-features/fd-read.md)
- [fixed_size_array](library-features/fixed-size-array.md)
- [float_bits_conv](library-features/float-bits-conv.md)
- [float_extras](library-features/float-extras.md)
- [flt2dec](library-features/flt2dec.md)
- [fmt_flags_align](library-features/fmt-flags-align.md)
- [fmt_internals](library-features/fmt-internals.md)
- [fn_traits](library-features/fn-traits.md)
- [fnbox](library-features/fnbox.md)
- [from_utf8_error_as_bytes](library-features/from_utf8_error_as_bytes.md)
- [fused](library-features/fused.md)
- [future_atomic_orderings](library-features/future-atomic-orderings.md)
- [get_type_id](library-features/get-type-id.md)
- [heap_api](library-features/heap-api.md)
- [i128](library-features/i128.md)
- [inclusive_range](library-features/inclusive-range.md)
- [integer_atomics](library-features/integer-atomics.md)
- [into_boxed_c_str](library-features/into-boxed-c-str.md)
- [into_boxed_os_str](library-features/into-boxed-os-str.md)
- [into_boxed_path](library-features/into-boxed-path.md)
- [io_error_internals](library-features/io-error-internals.md)
- [io](library-features/io.md)
- [ip](library-features/ip.md)
- [is_unique](library-features/is-unique.md)
- [iter_rfind](library-features/iter-rfind.md)
- [libstd_io_internals](library-features/libstd-io-internals.md)
- [libstd_sys_internals](library-features/libstd-sys-internals.md)
- [libstd_thread_internals](library-features/libstd-thread-internals.md)
- [linked_list_extras](library-features/linked-list-extras.md)
- [lookup_host](library-features/lookup-host.md)
- [manually_drop](library-features/manually-drop.md)
- [map_entry_recover_keys](library-features/map-entry-recover-keys.md)
- [mpsc_select](library-features/mpsc-select.md)
- [n16](library-features/n16.md)
- [never_type_impls](library-features/never-type-impls.md)
- [nonzero](library-features/nonzero.md)
- [offset_to](library-features/offset-to.md)
- [once_poison](library-features/once-poison.md)
- [oom](library-features/oom.md)
- [option_entry](library-features/option-entry.md)
- [osstring_shrink_to_fit](library-features/osstring-shrink-to-fit.md)
- [panic_abort](library-features/panic-abort.md)
- [panic_unwind](library-features/panic-unwind.md)
- [pattern](library-features/pattern.md)
- [peek](library-features/peek.md)
- [placement_in](library-features/placement-in.md)
- [placement_new_protocol](library-features/placement-new-protocol.md)
- [print](library-features/print.md)
- [proc_macro_internals](library-features/proc-macro-internals.md)
- [process_try_wait](library-features/process-try-wait.md)
- [question_mark_carrier](library-features/question-mark-carrier.md)
- [rand](library-features/rand.md)
- [range_contains](library-features/range-contains.md)
- [raw](library-features/raw.md)
- [rc_would_unwrap](library-features/rc-would-unwrap.md)
- [retain_hash_collection](library-features/retain-hash-collection.md)
- [reverse_cmp_key](library-features/reverse-cmp-key.md)
- [rt](library-features/rt.md)
- [rustc_private](library-features/rustc-private.md)
- [sanitizer_runtime_lib](library-features/sanitizer-runtime-lib.md)
- [set_stdio](library-features/set-stdio.md)
- [shared](library-features/shared.md)
- [sip_hash_13](library-features/sip-hash-13.md)
- [slice_concat_ext](library-features/slice-concat-ext.md)
- [slice_get_slice](library-features/slice-get-slice.md)
- [slice_rsplit](library-features/slice-rsplit.md)
- [sort_internals](library-features/sort-internals.md)
- [sort_unstable](library-features/sort-unstable.md)
- [step_by](library-features/step-by.md)
- [step_trait](library-features/step-trait.md)
- [str_checked_slicing](library-features/str-checked-slicing.md)
- [str_escape](library-features/str-escape.md)
- [str_internals](library-features/str-internals.md)
- [str_mut_extras](library-features/str-mut-extras.md)
- [test](library-features/test.md)
- [thread_id](library-features/thread-id.md)
- [thread_local_internals](library-features/thread-local-internals.md)
- [thread_local_state](library-features/thread-local-state.md)
- [toowned_clone_into](library-features/toowned-clone-into.md)
- [trusted_len](library-features/trusted-len.md)
- [try_from](library-features/try-from.md)
- [unicode](library-features/unicode.md)
- [unique](library-features/unique.md)
- [unsize](library-features/unsize.md)
- [utf8_error_error_len](library-features/utf8-error-error-len.md)
- [vec_remove_item](library-features/vec-remove-item.md)
- [windows_c](library-features/windows-c.md)
- [windows_handle](library-features/windows-handle.md)
- [windows_net](library-features/windows-net.md)
- [windows_stdio](library-features/windows-stdio.md)
- [zero_one](library-features/zero-one.md)
>>>>>> Add top level sections to the Unstable Book.

View File

@ -0,0 +1 @@
# Compiler flags

View File

@ -0,0 +1 @@
# Language features

Some files were not shown because too many files have changed in this diff Show More