tree: 6a41b014129d2a49ca7c4301dee911383c428baa [path history] [tgz]
  1. abi/
  2. alloc-error/
  3. allocator/
  4. annotate-snippet/
  5. anon-params/
  6. argfile/
  7. argument-suggestions/
  8. array-slice-vec/
  9. asm/
  10. associated-consts/
  11. associated-inherent-types/
  12. associated-item/
  13. associated-type-bounds/
  14. associated-types/
  15. async-await/
  16. attributes/
  17. auto-traits/
  18. autoref-autoderef/
  19. auxiliary/
  20. bench/
  21. binding/
  22. binop/
  23. blind/
  24. block-result/
  25. borrowck/
  26. box/
  27. btreemap/
  28. builtin-superkinds/
  29. c-variadic/
  30. cast/
  31. cfg/
  32. check-cfg/
  33. closure-expected-type/
  34. closure_context/
  35. closures/
  36. cmse-nonsecure/
  37. codegen/
  38. codemap_tests/
  39. coercion/
  40. coherence/
  41. coinduction/
  42. command/
  43. compare-method/
  44. compiletest-self-test/
  45. conditional-compilation/
  46. confuse-field-and-method/
  47. const-generics/
  48. const-ptr/
  49. const_prop/
  50. consts/
  51. coroutine/
  52. crate-loading/
  53. cross/
  54. cross-crate/
  55. custom_test_frameworks/
  56. cycle-trait/
  57. debuginfo/
  58. definition-reachable/
  59. delegation/
  60. dep-graph/
  61. deployment-target/
  62. deprecation/
  63. deref-patterns/
  64. derived-errors/
  65. derives/
  66. deriving/
  67. dest-prop/
  68. destructuring-assignment/
  69. diagnostic-flags/
  70. diagnostic-width/
  71. diagnostic_namespace/
  72. did_you_mean/
  73. directory_ownership/
  74. disallowed-deconstructing/
  75. dollar-crate/
  76. drop/
  77. drop-bounds/
  78. dropck/
  79. dst/
  80. duplicate/
  81. dyn-drop/
  82. dyn-keyword/
  83. dyn-star/
  84. dynamically-sized-types/
  85. editions/
  86. empty/
  87. entry-point/
  88. enum/
  89. enum-discriminant/
  90. error-codes/
  91. error-emitter/
  92. errors/
  93. explicit/
  94. explicit-tail-calls/
  95. expr/
  96. extenv/
  97. extern/
  98. extern-flag/
  99. feature-gates/
  100. fmt/
  101. fn/
  102. for/
  103. for-loop-while/
  104. foreign/
  105. fully-qualified-type/
  106. function-pointer/
  107. functional-struct-update/
  108. functions-closures/
  109. generic-associated-types/
  110. generic-const-items/
  111. generics/
  112. half-open-range-patterns/
  113. hashmap/
  114. hello_world/
  115. higher-ranked/
  116. hygiene/
  117. illegal-sized-bound/
  118. impl-header-lifetime-elision/
  119. impl-trait/
  120. implied-bounds/
  121. imports/
  122. include-macros/
  123. incoherent-inherent-impls/
  124. indexing/
  125. inference/
  126. infinite/
  127. inherent-impls-overlap-check/
  128. inline-const/
  129. instrument-coverage/
  130. instrument-xray/
  131. interior-mutability/
  132. internal/
  133. internal-lints/
  134. intrinsics/
  135. invalid/
  136. invalid-compile-flags/
  137. invalid-module-declaration/
  138. invalid-self-argument/
  139. io-checks/
  140. issues/
  141. iterators/
  142. json/
  143. keyword/
  144. kindck/
  145. label/
  146. lang-items/
  147. late-bound-lifetimes/
  148. layout/
  149. lazy-type-alias/
  150. lazy-type-alias-impl-trait/
  151. let-else/
  152. lexer/
  153. lifetimes/
  154. limits/
  155. linkage-attr/
  156. lint/
  157. liveness/
  158. loops/
  159. lowering/
  160. lto/
  161. lub-glb/
  162. macro_backtrace/
  163. macros/
  164. malformed/
  165. manual/
  166. marker_trait_attr/
  167. match/
  168. meta/
  169. methods/
  170. mir/
  171. mir-dataflow/
  172. mismatched_types/
  173. missing/
  174. missing-trait-bounds/
  175. missing_non_modrs_mod/
  176. modules/
  177. modules_and_files_visibility/
  178. moves/
  179. mut/
  180. namespace/
  181. native-library-link-flags/
  182. never_type/
  183. nll/
  184. no_std/
  185. non_modrs_mods/
  186. non_modrs_mods_and_inline_mods/
  187. not-panic/
  188. numbers-arithmetic/
  189. numeric/
  190. object-lifetime/
  191. object-safety/
  192. obsolete-in-place/
  193. offset-of/
  194. on-unimplemented/
  195. operator-recovery/
  196. or-patterns/
  197. overloaded/
  198. packed/
  199. panic-handler/
  200. panic-runtime/
  201. panics/
  202. parallel-rustc/
  203. parser/
  204. pattern/
  205. pin-macro/
  206. polymorphization/
  207. precondition-checks/
  208. print-fuel/
  209. print_type_sizes/
  210. privacy/
  211. proc-macro/
  212. process/
  213. process-termination/
  214. ptr_ops/
  215. pub/
  216. qualified/
  217. query-system/
  218. range/
  219. raw-ref-op/
  220. reachable/
  221. recursion/
  222. recursion_limit/
  223. regions/
  224. repeat-expr/
  225. repr/
  226. reserved/
  227. resolve/
  228. return/
  229. rfcs/
  230. rmeta/
  231. runtime/
  232. rust-2018/
  233. rust-2021/
  234. rust-2024/
  235. rustdoc/
  236. sanitizer/
  237. self/
  238. sepcomp/
  239. shadowed/
  240. shell-argfiles/
  241. simd/
  242. single-use-lifetime/
  243. sized/
  244. span/
  245. specialization/
  246. stability-attribute/
  247. stable-mir-print/
  248. stack-protector/
  249. static/
  250. statics/
  251. stats/
  252. std/
  253. stdlib-unit-tests/
  254. str/
  255. structs/
  256. structs-enums/
  257. suggestions/
  258. svh/
  259. symbol-mangling-version/
  260. symbol-names/
  261. sync/
  262. target-feature/
  263. test-attrs/
  264. thir-print/
  265. thread-local/
  266. threads-sendsync/
  267. tool-attributes/
  268. track-diagnostics/
  269. trait-bounds/
  270. traits/
  271. transmutability/
  272. transmute/
  273. treat-err-as-bug/
  274. trivial-bounds/
  275. try-block/
  276. try-trait/
  277. tuple/
  278. type/
  279. type-alias/
  280. type-alias-enum-variants/
  281. type-alias-impl-trait/
  282. type-inference/
  283. typeck/
  284. typeof/
  285. ufcs/
  286. unboxed-closures/
  287. underscore-imports/
  288. underscore-lifetime/
  289. uniform-paths/
  290. uninhabited/
  291. union/
  292. unknown-unstable-lints/
  293. unpretty/
  294. unresolved/
  295. unsafe/
  296. unsized/
  297. unsized-locals/
  298. unused-crate-deps/
  299. unwind-abis/
  300. use/
  301. variance/
  302. variants/
  303. wasm/
  304. wf/
  305. where-clauses/
  306. while/
  307. xcrate/
  308. zero-sized/
  309. .gitattributes
  310. alias-uninit-value.rs
  311. anonymous-higher-ranked-lifetime.rs
  312. anonymous-higher-ranked-lifetime.stderr
  313. artificial-block.rs
  314. as-precedence.rs
  315. assign-assign.rs
  316. assign-imm-local-twice.rs
  317. assign-imm-local-twice.stderr
  318. assoc-lang-items.rs
  319. assoc-lang-items.stderr
  320. assoc-oddities-3.rs
  321. associated-path-shl.rs
  322. associated-path-shl.stderr
  323. atomic-from-mut-not-available.rs
  324. atomic-from-mut-not-available.stderr
  325. attempted-access-non-fatal.rs
  326. attempted-access-non-fatal.stderr
  327. attr-bad-crate-attr.rs
  328. attr-bad-crate-attr.stderr
  329. attr-shebang.rs
  330. attr-start.rs
  331. attr-usage-inline.rs
  332. attr-usage-inline.stderr
  333. attrs-resolution-errors.rs
  334. attrs-resolution-errors.stderr
  335. attrs-resolution.rs
  336. augmented-assignments-feature-gate-cross.rs
  337. augmented-assignments-rpass.rs
  338. augmented-assignments.rs
  339. augmented-assignments.stderr
  340. auto-instantiate.rs
  341. auto-ref-slice-plus-ref.rs
  342. auto-ref-slice-plus-ref.stderr
  343. autoderef-full-lval.rs
  344. autoderef-full-lval.stderr
  345. backtrace-apple-no-dsymutil.rs
  346. backtrace.rs
  347. bare-fn-implements-fn-mut.rs
  348. bare-static-string.rs
  349. big-literals.rs
  350. bind-by-move.rs
  351. bitwise.rs
  352. bogus-tag.rs
  353. bogus-tag.stderr
  354. borrow-by-val-method-receiver.rs
  355. bounds-lifetime.rs
  356. bounds-lifetime.stderr
  357. break-diverging-value.rs
  358. break-diverging-value.stderr
  359. builtin-clone-unwind.rs
  360. by-move-pattern-binding.rs
  361. by-move-pattern-binding.stderr
  362. can-copy-pod.rs
  363. cancel-clean-via-immediate-rvalue-ref.rs
  364. cannot-mutate-captured-non-mut-var.rs
  365. cannot-mutate-captured-non-mut-var.stderr
  366. capture1.rs
  367. capture1.stderr
  368. catch-unwind-bang.rs
  369. cenum_impl_drop_cast.rs
  370. cenum_impl_drop_cast.stderr
  371. cfguard-run.rs
  372. char.rs
  373. check-static-immutable-mut-slices.rs
  374. check-static-immutable-mut-slices.stderr
  375. check-static-recursion-foreign.rs
  376. check-static-values-constraints.rs
  377. check-static-values-constraints.stderr
  378. class-cast-to-trait.rs
  379. class-cast-to-trait.stderr
  380. class-method-missing.rs
  381. class-method-missing.stderr
  382. cleanup-rvalue-for-scope.rs
  383. cleanup-rvalue-scopes-cf.rs
  384. cleanup-rvalue-scopes-cf.stderr
  385. cleanup-rvalue-scopes.rs
  386. cleanup-rvalue-temp-during-incomplete-alloc.rs
  387. cleanup-shortcircuit.rs
  388. close-over-big-then-small-data.rs
  389. command-line-diagnostics.rs
  390. command-line-diagnostics.stderr
  391. compile_error_macro.rs
  392. compile_error_macro.stderr
  393. complex.rs
  394. conflicting-repr-hints.rs
  395. conflicting-repr-hints.stderr
  396. conservative_impl_trait.rs
  397. conservative_impl_trait.stderr
  398. constructor-lifetime-args.rs
  399. constructor-lifetime-args.stderr
  400. copy-a-resource.rs
  401. copy-a-resource.stderr
  402. crate-leading-sep.rs
  403. crate-method-reexport-grrrrrrr.rs
  404. crate-name-attr-used.rs
  405. crate-name-mismatch.rs
  406. crate-name-mismatch.stderr
  407. custom-attribute-multisegment.rs
  408. custom-attribute-multisegment.stderr
  409. custom-test-frameworks-simple.rs
  410. custom_attribute.rs
  411. custom_attribute.stderr
  412. deduplicate-diagnostics.deduplicate.stderr
  413. deduplicate-diagnostics.duplicate.stderr
  414. deduplicate-diagnostics.rs
  415. deep.rs
  416. default-method-parsing.rs
  417. default-method-simple.rs
  418. defaults-well-formedness.rs
  419. deprecation-in-force-unstable.rs
  420. deref-non-pointer.rs
  421. deref-non-pointer.stderr
  422. deref-rc.rs
  423. deref.rs
  424. derive-uninhabited-enum-38885.rs
  425. derive-uninhabited-enum-38885.stderr
  426. destructure-trait-ref.rs
  427. destructure-trait-ref.stderr
  428. diverging-fallback-method-chain.rs
  429. diverging-fallback-option.rs
  430. diverging-fn-tail-35849.rs
  431. diverging-fn-tail-35849.stderr
  432. does-nothing.rs
  433. does-nothing.stderr
  434. dont-suggest-private-trait-method.rs
  435. dont-suggest-private-trait-method.stderr
  436. double-ref.rs
  437. double-type-import.rs
  438. double-type-import.stderr
  439. dupe-first-attr.rs
  440. duplicate_entry_error.rs
  441. duplicate_entry_error.stderr
  442. early-ret-binop-add.rs
  443. elide-errors-on-mismatched-tuple.rs
  444. elide-errors-on-mismatched-tuple.stderr
  445. elided-test.rs
  446. elided-test.stderr
  447. else-if.rs
  448. empty-allocation-non-null.rs
  449. empty-allocation-rvalue-non-null.rs
  450. empty-type-parameter-list.rs
  451. empty-type-parameter-list.stderr
  452. empty_global_asm.rs
  453. env-args-reverse-iterator.rs
  454. env-funky-keys.rs
  455. env-null-vars.rs
  456. env-vars.rs
  457. error-festival.rs
  458. error-festival.stderr
  459. error-should-say-copy-not-pod.rs
  460. error-should-say-copy-not-pod.stderr
  461. exclusive-drop-and-copy.rs
  462. exclusive-drop-and-copy.stderr
  463. exec-env.rs
  464. explain.rs
  465. explain.stdout
  466. explicit-i-suffix.rs
  467. explore-issue-38412.rs
  468. explore-issue-38412.stderr
  469. expr-block-fn.rs
  470. expr-block-generic.rs
  471. expr-block.rs
  472. expr-copy.rs
  473. expr-if-generic.rs
  474. expr-if-panic-all.rs
  475. expr-scope.rs
  476. ext-expand-inner-exprs.rs
  477. ext-nonexistent.rs
  478. ext-nonexistent.stderr
  479. extoption_env-no-args.rs
  480. extoption_env-no-args.stderr
  481. extoption_env-not-defined.rs
  482. extoption_env-not-string-literal.rs
  483. extoption_env-not-string-literal.stderr
  484. extoption_env-too-many-args.rs
  485. extoption_env-too-many-args.stderr
  486. fact.rs
  487. fail-simple.rs
  488. fail-simple.stderr
  489. ffi_const.rs
  490. ffi_const.stderr
  491. ffi_const2.rs
  492. ffi_const2.stderr
  493. ffi_pure.rs
  494. ffi_pure.stderr
  495. filter-block-view-items.rs
  496. fn-in-pat.rs
  497. fn-in-pat.stderr
  498. foreign-fn-return-lifetime.rs
  499. foreign-fn-return-lifetime.stderr
  500. format-no-std.rs
  501. fun-indirect-call.rs
  502. future-incompatible-lint-group.rs
  503. future-incompatible-lint-group.stderr
  504. global-scope.rs
  505. hello.rs
  506. illegal-ufcs-drop.fixed
  507. illegal-ufcs-drop.rs
  508. illegal-ufcs-drop.stderr
  509. impl-inherent-non-conflict.rs
  510. impl-not-adjacent-to-type.rs
  511. impl-privacy-xc-1.rs
  512. impl-unused-rps-in-assoc-type.rs
  513. impl-unused-rps-in-assoc-type.stderr
  514. impl-unused-tps-inherent.rs
  515. impl-unused-tps-inherent.stderr
  516. impl-unused-tps.rs
  517. impl-unused-tps.stderr
  518. implicit-method-bind.rs
  519. implicit-method-bind.stderr
  520. impossible_range.fixed
  521. impossible_range.rs
  522. impossible_range.stderr
  523. inc-range-pat.rs
  524. infer-fn-tail-expr.rs
  525. inherit-env.rs
  526. inline-disallow-on-variant.rs
  527. inline-disallow-on-variant.stderr
  528. inlined-main.rs
  529. inner-attrs-on-impl.rs
  530. inner-module.rs
  531. inner-static-type-parameter.rs
  532. inner-static-type-parameter.stderr
  533. inner-static.rs
  534. integral-indexing.rs
  535. integral-indexing.stderr
  536. integral-variable-unification-error.rs
  537. integral-variable-unification-error.stderr
  538. intrinsics-always-extern.rs
  539. intrinsics-always-extern.stderr
  540. invalid_crate_type_syntax.rs
  541. invalid_crate_type_syntax.stderr
  542. invalid_dispatch_from_dyn_impls.rs
  543. invalid_dispatch_from_dyn_impls.stderr
  544. issue-11881.rs
  545. issue-13560.rs
  546. issue-15924.rs
  547. issue-16822.rs
  548. issue-18502.rs
  549. issue-24106.rs
  550. issue-76387-llvm-miscompile.rs
  551. issues-71798.rs
  552. issues-71798.stderr
  553. item-name-overload.rs
  554. kinds-in-metadata.rs
  555. kinds-of-primitive-impl.rs
  556. kinds-of-primitive-impl.stderr
  557. lambda-infer-unresolved.rs
  558. last-use-in-block.rs
  559. last-use-in-cap-clause.rs
  560. last-use-is-capture.rs
  561. lazy-and-or.rs
  562. lexical-scopes.rs
  563. lexical-scopes.stderr
  564. lexical-scoping.rs
  565. link-section.rs
  566. lint-group-denied-lint-allowed.rs
  567. lint-group-forbid-always-trumps-cli.rs
  568. lint-group-forbid-always-trumps-cli.stderr
  569. lint-unknown-lints-at-crate-level.rs
  570. list.rs
  571. log-err-phi.rs
  572. log-knows-the-names-of-variants.rs
  573. log-poly.rs
  574. logging-only-prints-once.rs
  575. loud_ui.rs
  576. main-wrong-location.rs
  577. main-wrong-location.stderr
  578. main-wrong-type.rs
  579. main-wrong-type.stderr
  580. max-min-classes.rs
  581. maximal_mir_to_hir_coverage.rs
  582. maybe-bounds.rs
  583. maybe-bounds.stderr
  584. minus-string.rs
  585. minus-string.stderr
  586. missing_debug_impls.rs
  587. missing_debug_impls.stderr
  588. mod-subitem-as-enum-variant.rs
  589. mod-subitem-as-enum-variant.stderr
  590. module-macro_use-arguments.rs
  591. module-macro_use-arguments.stderr
  592. monomorphize-abi-alignment.rs
  593. msvc-data-only.rs
  594. multibyte.rs
  595. multiline-comment.rs
  596. mut-function-arguments.rs
  597. mutual-recursion-group.rs
  598. myriad-closures.rs
  599. nested-block-comment.rs
  600. nested-cfg-attrs.rs
  601. nested-cfg-attrs.stderr
  602. nested-class.rs
  603. nested-ty-params.rs
  604. nested-ty-params.stderr
  605. new-impl-syntax.rs
  606. new-import-syntax.rs
  607. new-style-constants.rs
  608. new-unicode-escapes.rs
  609. newlambdas.rs
  610. newtype-polymorphic.rs
  611. newtype.rs
  612. no-capture-arc.rs
  613. no-capture-arc.stderr
  614. no-core-1.rs
  615. no-core-2.rs
  616. no-link-unknown-crate.rs
  617. no-link-unknown-crate.stderr
  618. no-patterns-in-args-2.rs
  619. no-patterns-in-args-2.stderr
  620. no-patterns-in-args-macro.rs
  621. no-patterns-in-args-macro.stderr
  622. no-patterns-in-args.rs
  623. no-patterns-in-args.stderr
  624. no-reuse-move-arc.rs
  625. no-reuse-move-arc.stderr
  626. no-send-res-ports.rs
  627. no-send-res-ports.stderr
  628. no-warn-on-field-replace-issue-34101.rs
  629. no_crate_type.rs
  630. no_crate_type.stderr
  631. no_send-enum.rs
  632. no_send-enum.stderr
  633. no_send-rc.rs
  634. no_send-rc.stderr
  635. no_share-enum.rs
  636. no_share-enum.stderr
  637. no_share-struct.rs
  638. no_share-struct.stderr
  639. noexporttypeexe.rs
  640. noexporttypeexe.stderr
  641. non-constant-expr-for-arr-len.rs
  642. non-constant-expr-for-arr-len.stderr
  643. non-copyable-void.rs
  644. non-copyable-void.stderr
  645. non-fmt-panic.fixed
  646. non-fmt-panic.rs
  647. non-fmt-panic.stderr
  648. noncopyable-class.rs
  649. noncopyable-class.stderr
  650. nonscalar-cast.fixed
  651. nonscalar-cast.rs
  652. nonscalar-cast.stderr
  653. not-clone-closure.rs
  654. not-clone-closure.stderr
  655. not-copy-closure.rs
  656. not-copy-closure.stderr
  657. not-enough-arguments.rs
  658. not-enough-arguments.stderr
  659. nul-characters.rs
  660. nullable-pointer-iotareduction.rs
  661. nullable-pointer-size.rs
  662. object-pointer-types.rs
  663. object-pointer-types.stderr
  664. objects-coerce-freeze-borrored.rs
  665. occurs-check-2.rs
  666. occurs-check-2.stderr
  667. occurs-check-3.rs
  668. occurs-check-3.stderr
  669. occurs-check.rs
  670. occurs-check.stderr
  671. once-cant-call-twice-on-heap.rs
  672. once-cant-call-twice-on-heap.stderr
  673. oom_unwind.rs
  674. op-assign-builtins-by-ref.rs
  675. opeq.rs
  676. opt-in-copy.rs
  677. opt-in-copy.stderr
  678. optimization-fuel-0.rs
  679. optimization-fuel-0.stderr
  680. optimization-fuel-1.rs
  681. optimization-fuel-1.stderr
  682. optimization-remark.rs
  683. order-dependent-cast-inference.rs
  684. order-dependent-cast-inference.stderr
  685. orphan-check-diagnostics.rs
  686. orphan-check-diagnostics.stderr
  687. osx-frameworks.rs
  688. osx-frameworks.stderr
  689. out-pointer-aliasing.rs
  690. output-slot-variants.rs
  691. over-constrained-vregs.rs
  692. panic-while-printing.rs
  693. panic_implementation-closures.rs
  694. paren-span.rs
  695. paren-span.stderr
  696. partialeq_help.rs
  697. partialeq_help.stderr
  698. path-lookahead.fixed
  699. path-lookahead.rs
  700. path-lookahead.stderr
  701. path.rs
  702. paths-containing-nul.rs
  703. phantom-auto-trait.rs
  704. phantom-auto-trait.stderr
  705. point-to-type-err-cause-on-impl-trait-return-2.rs
  706. point-to-type-err-cause-on-impl-trait-return-2.stderr
  707. pptypedef.rs
  708. pptypedef.stderr
  709. primitive-binop-lhs-mut.rs
  710. print-stdout-eprint-stderr.rs
  711. project-cache-issue-31849.rs
  712. ptr-coercion-rpass.rs
  713. ptr-coercion.rs
  714. ptr-coercion.stderr
  715. query-visibility.rs
  716. range_inclusive.rs
  717. raw-str.rs
  718. README.md
  719. realloc-16687.rs
  720. reassign-ref-mut.rs
  721. reassign-ref-mut.stderr
  722. reexport-test-harness-main.rs
  723. reify-intrinsic.rs
  724. reify-intrinsic.stderr
  725. removing-extern-crate.fixed
  726. removing-extern-crate.rs
  727. removing-extern-crate.stderr
  728. resource-assign-is-not-copy.rs
  729. resource-destruct.rs
  730. ret-bang.rs
  731. ret-non-nil.rs
  732. ret-non-nil.stderr
  733. return-disjoint-regions.rs
  734. return-disjoint-regions.stderr
  735. return-nil.rs
  736. rustc-error.rs
  737. rustc-error.stderr
  738. rustc-rust-log.rs
  739. seq-args.rs
  740. seq-args.stderr
  741. shadow-bool.rs
  742. shadowed-use-visibility.rs
  743. short-error-format.rs
  744. short-error-format.stderr
  745. simple_global_asm.rs
  746. sized-borrowed-pointer.rs
  747. sized-cycle-note.rs
  748. sized-cycle-note.stderr
  749. sized-owned-pointer.rs
  750. sse2.rs
  751. stable-addr-of.rs
  752. std-backtrace.rs
  753. std-uncopyable-atomics.rs
  754. std-uncopyable-atomics.stderr
  755. stdio-is-blocking.rs
  756. stmt_expr_attrs_no_feature.rs
  757. stmt_expr_attrs_no_feature.stderr
  758. string-box-error.rs
  759. struct-ctor-mangling.rs
  760. suggest-null-ptr.fixed
  761. suggest-null-ptr.rs
  762. suggest-null-ptr.stderr
  763. super-at-top-level.rs
  764. super-at-top-level.stderr
  765. super-fast-paren-parsing.rs
  766. super.rs
  767. svh-add-nothing.rs
  768. swap-1.rs
  769. swap-overlapping.rs
  770. switched-expectations.rs
  771. switched-expectations.stderr
  772. syntax-extension-minor.rs
  773. tag-type-args.rs
  774. tag-type-args.stderr
  775. tag-variant-cast-non-nullary.fixed
  776. tag-variant-cast-non-nullary.rs
  777. tag-variant-cast-non-nullary.stderr
  778. tail-call-arg-leak.rs
  779. tail-cps.rs
  780. tail-typeck.rs
  781. tail-typeck.stderr
  782. tool_lints-fail.rs
  783. tool_lints-fail.stderr
  784. tool_lints-rpass.rs
  785. tool_lints.rs
  786. tool_lints.stderr
  787. tool_lints_2018_preview.rs
  788. trailing-comma.rs
  789. trait-impl-bound-suggestions.fixed
  790. trait-impl-bound-suggestions.rs
  791. trait-impl-bound-suggestions.stderr
  792. trait-method-number-parameters.rs
  793. trait-method-number-parameters.stderr
  794. transmute-equal-assoc-types.rs
  795. transmute-non-immediate-to-immediate.rs
  796. trivial_casts-rpass.rs
  797. trivial_casts-rpass.stderr
  798. try-from-int-error-partial-eq.rs
  799. try-operator-hygiene.rs
  800. try-operator.rs
  801. tydesc-name.rs
  802. type-id-higher-rank-2.rs
  803. type-namespace.rs
  804. type-param-constraints.rs
  805. type-param.rs
  806. type-ptr.rs
  807. type-use-i1-versus-i8.rs
  808. type_length_limit.polonius.stderr
  809. type_length_limit.rs
  810. type_length_limit.stderr
  811. typeid-intrinsic.rs
  812. typestate-multi-decl.rs
  813. unconstrained-none.rs
  814. unconstrained-none.stderr
  815. unconstrained-ref.rs
  816. unconstrained-ref.stderr
  817. underscore-ident-matcher.rs
  818. underscore-ident-matcher.stderr
  819. underscore-lifetimes.rs
  820. underscore-method-after-integer.rs
  821. unevaluated_fixed_size_array_len.rs
  822. unevaluated_fixed_size_array_len.stderr
  823. uninit-empty-types.rs
  824. unit.rs
  825. unknown-language-item.rs
  826. unknown-language-item.stderr
  827. unknown-lint-tool-name.rs
  828. unknown-lint-tool-name.stderr
  829. unknown-llvm-arg.rs
  830. unknown-llvm-arg.stderr
  831. unknown-tool-name.rs
  832. unknown-tool-name.stderr
  833. unnamed_argument_mode.rs
  834. unop-move-semantics.rs
  835. unop-move-semantics.stderr
  836. unop-neg-bool.rs
  837. unop-neg-bool.stderr
  838. unreachable-code-1.rs
  839. unreachable-code.rs
  840. unsigned-literal-negation.rs
  841. unsigned-literal-negation.stderr
  842. unused-move-capture.rs
  843. unused-move.rs
  844. unwind-no-uwtable.rs
  845. use-import-export.rs
  846. use-keyword-2.rs
  847. use-module-level-int-consts.rs
  848. use-nested-groups.rs
  849. used.rs
  850. used.stderr
  851. using-target-feature-unstable.rs
  852. usize-generic-argument-parent.rs
  853. usize-generic-argument-parent.stderr
  854. utf8-bom.rs
  855. utf8_idents.rs
  856. wait-forked-but-failed-child.rs
  857. walk-struct-literal-with.rs
  858. walk-struct-literal-with.stderr
  859. weak-new-uninhabited-issue-48493.rs
  860. weird-exit-code.rs
  861. weird-exprs.rs
  862. windows-subsystem-invalid.rs
  863. windows-subsystem-invalid.stderr
  864. write-fmt-errors.rs
  865. writing-to-immutable-vec.rs
  866. writing-to-immutable-vec.stderr
  867. wrong-hashset-issue-42918.rs
tests/ui/README.md

UI Tests

This folder contains rustc's UI tests.

Test Directives (Headers)

Typically, a UI test will have some test directives / headers which are special comments that tell compiletest how to build and intepret a test.

As part of an on-going effort to rewrite compiletest (see https://github.com/rust-lang/compiler-team/issues/536), a major change proposal to change legacy compiletest-style headers // <directive> to ui_test-style headers //@ <directive> was accepted (see https://github.com/rust-lang/compiler-team/issues/512.

An example directive is ignore-test. In legacy compiletest style, the header would be written as

// ignore-test

but in ui_test style, the header would be written as

//@ ignore-test

compiletest is changed to accept only //@ directives for UI tests (currently), and will reject and report an error if it encounters any comments // <content> that may be parsed as an legacy compiletest-style test header. To fix this, you should migrate to the ui_test-style header //@ <content>.