tree: df35ce2fdbee1f5b9084f256dad703193bc0c7cf [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. env-macro/
  91. error-codes/
  92. error-emitter/
  93. errors/
  94. explicit/
  95. explicit-tail-calls/
  96. expr/
  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. version/
  304. warnings/
  305. wasm/
  306. wf/
  307. where-clauses/
  308. while/
  309. xcrate/
  310. zero-sized/
  311. .gitattributes
  312. alias-uninit-value.rs
  313. anonymous-higher-ranked-lifetime.rs
  314. anonymous-higher-ranked-lifetime.stderr
  315. artificial-block.rs
  316. as-precedence.rs
  317. assign-assign.rs
  318. assign-imm-local-twice.rs
  319. assign-imm-local-twice.stderr
  320. assoc-lang-items.rs
  321. assoc-lang-items.stderr
  322. assoc-oddities-3.rs
  323. associated-path-shl.rs
  324. associated-path-shl.stderr
  325. atomic-from-mut-not-available.rs
  326. atomic-from-mut-not-available.stderr
  327. attempted-access-non-fatal.rs
  328. attempted-access-non-fatal.stderr
  329. attr-bad-crate-attr.rs
  330. attr-bad-crate-attr.stderr
  331. attr-shebang.rs
  332. attr-start.rs
  333. attr-usage-inline.rs
  334. attr-usage-inline.stderr
  335. attrs-resolution-errors.rs
  336. attrs-resolution-errors.stderr
  337. attrs-resolution.rs
  338. augmented-assignments-feature-gate-cross.rs
  339. augmented-assignments-rpass.rs
  340. augmented-assignments.rs
  341. augmented-assignments.stderr
  342. auto-instantiate.rs
  343. auto-ref-slice-plus-ref.rs
  344. auto-ref-slice-plus-ref.stderr
  345. autoderef-full-lval.rs
  346. autoderef-full-lval.stderr
  347. backtrace-apple-no-dsymutil.rs
  348. backtrace.rs
  349. bare-fn-implements-fn-mut.rs
  350. bare-static-string.rs
  351. big-literals.rs
  352. bind-by-move.rs
  353. bitwise.rs
  354. bogus-tag.rs
  355. bogus-tag.stderr
  356. borrow-by-val-method-receiver.rs
  357. bounds-lifetime.rs
  358. bounds-lifetime.stderr
  359. break-diverging-value.rs
  360. break-diverging-value.stderr
  361. builtin-clone-unwind.rs
  362. by-move-pattern-binding.rs
  363. by-move-pattern-binding.stderr
  364. can-copy-pod.rs
  365. cancel-clean-via-immediate-rvalue-ref.rs
  366. cannot-mutate-captured-non-mut-var.rs
  367. cannot-mutate-captured-non-mut-var.stderr
  368. capture1.rs
  369. capture1.stderr
  370. catch-unwind-bang.rs
  371. cenum_impl_drop_cast.rs
  372. cenum_impl_drop_cast.stderr
  373. cfguard-run.rs
  374. char.rs
  375. check-static-immutable-mut-slices.rs
  376. check-static-immutable-mut-slices.stderr
  377. check-static-recursion-foreign.rs
  378. check-static-values-constraints.rs
  379. check-static-values-constraints.stderr
  380. class-cast-to-trait.rs
  381. class-cast-to-trait.stderr
  382. class-method-missing.rs
  383. class-method-missing.stderr
  384. cleanup-rvalue-for-scope.rs
  385. cleanup-rvalue-scopes-cf.rs
  386. cleanup-rvalue-scopes-cf.stderr
  387. cleanup-rvalue-scopes.rs
  388. cleanup-rvalue-temp-during-incomplete-alloc.rs
  389. cleanup-shortcircuit.rs
  390. close-over-big-then-small-data.rs
  391. command-line-diagnostics.rs
  392. command-line-diagnostics.stderr
  393. compile_error_macro.rs
  394. compile_error_macro.stderr
  395. complex.rs
  396. conflicting-repr-hints.rs
  397. conflicting-repr-hints.stderr
  398. conservative_impl_trait.rs
  399. conservative_impl_trait.stderr
  400. constructor-lifetime-args.rs
  401. constructor-lifetime-args.stderr
  402. copy-a-resource.rs
  403. copy-a-resource.stderr
  404. crate-leading-sep.rs
  405. crate-method-reexport-grrrrrrr.rs
  406. crate-name-attr-used.rs
  407. crate-name-mismatch.rs
  408. crate-name-mismatch.stderr
  409. custom-attribute-multisegment.rs
  410. custom-attribute-multisegment.stderr
  411. custom-test-frameworks-simple.rs
  412. custom_attribute.rs
  413. custom_attribute.stderr
  414. deduplicate-diagnostics.deduplicate.stderr
  415. deduplicate-diagnostics.duplicate.stderr
  416. deduplicate-diagnostics.rs
  417. deep.rs
  418. default-method-parsing.rs
  419. default-method-simple.rs
  420. defaults-well-formedness.rs
  421. deprecation-in-force-unstable.rs
  422. deref-non-pointer.rs
  423. deref-non-pointer.stderr
  424. deref-rc.rs
  425. deref.rs
  426. derive-uninhabited-enum-38885.rs
  427. derive-uninhabited-enum-38885.stderr
  428. destructure-trait-ref.rs
  429. destructure-trait-ref.stderr
  430. diverging-fallback-method-chain.rs
  431. diverging-fallback-option.rs
  432. diverging-fn-tail-35849.rs
  433. diverging-fn-tail-35849.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. fact.rs
  480. fail-simple.rs
  481. fail-simple.stderr
  482. ffi_const.rs
  483. ffi_const.stderr
  484. ffi_const2.rs
  485. ffi_const2.stderr
  486. ffi_pure.rs
  487. ffi_pure.stderr
  488. filter-block-view-items.rs
  489. fn-in-pat.rs
  490. fn-in-pat.stderr
  491. foreign-fn-return-lifetime.rs
  492. foreign-fn-return-lifetime.stderr
  493. format-no-std.rs
  494. fun-indirect-call.rs
  495. future-incompatible-lint-group.rs
  496. future-incompatible-lint-group.stderr
  497. global-scope.rs
  498. hello.rs
  499. illegal-ufcs-drop.fixed
  500. illegal-ufcs-drop.rs
  501. illegal-ufcs-drop.stderr
  502. impl-inherent-non-conflict.rs
  503. impl-not-adjacent-to-type.rs
  504. impl-privacy-xc-1.rs
  505. impl-unused-rps-in-assoc-type.rs
  506. impl-unused-rps-in-assoc-type.stderr
  507. impl-unused-tps-inherent.rs
  508. impl-unused-tps-inherent.stderr
  509. impl-unused-tps.rs
  510. impl-unused-tps.stderr
  511. implicit-method-bind.rs
  512. implicit-method-bind.stderr
  513. impossible_range.fixed
  514. impossible_range.rs
  515. impossible_range.stderr
  516. inc-range-pat.rs
  517. infer-fn-tail-expr.rs
  518. inherit-env.rs
  519. inline-disallow-on-variant.rs
  520. inline-disallow-on-variant.stderr
  521. inlined-main.rs
  522. inner-attrs-on-impl.rs
  523. inner-module.rs
  524. inner-static-type-parameter.rs
  525. inner-static-type-parameter.stderr
  526. inner-static.rs
  527. integral-indexing.rs
  528. integral-indexing.stderr
  529. integral-variable-unification-error.rs
  530. integral-variable-unification-error.stderr
  531. intrinsics-always-extern.rs
  532. intrinsics-always-extern.stderr
  533. invalid_crate_type_syntax.rs
  534. invalid_crate_type_syntax.stderr
  535. invalid_dispatch_from_dyn_impls.rs
  536. invalid_dispatch_from_dyn_impls.stderr
  537. issue-11881.rs
  538. issue-13560.rs
  539. issue-15924.rs
  540. issue-16822.rs
  541. issue-18502.rs
  542. issue-24106.rs
  543. issue-76387-llvm-miscompile.rs
  544. issues-71798.rs
  545. issues-71798.stderr
  546. item-name-overload.rs
  547. kinds-in-metadata.rs
  548. kinds-of-primitive-impl.rs
  549. kinds-of-primitive-impl.stderr
  550. lambda-infer-unresolved.rs
  551. last-use-in-block.rs
  552. last-use-in-cap-clause.rs
  553. last-use-is-capture.rs
  554. lazy-and-or.rs
  555. lexical-scopes.rs
  556. lexical-scopes.stderr
  557. lexical-scoping.rs
  558. link-section.rs
  559. lint-group-denied-lint-allowed.rs
  560. lint-group-forbid-always-trumps-cli.rs
  561. lint-group-forbid-always-trumps-cli.stderr
  562. lint-unknown-lints-at-crate-level.rs
  563. list.rs
  564. log-err-phi.rs
  565. log-knows-the-names-of-variants.rs
  566. log-poly.rs
  567. logging-only-prints-once.rs
  568. loud_ui.rs
  569. main-wrong-location.rs
  570. main-wrong-location.stderr
  571. main-wrong-type.rs
  572. main-wrong-type.stderr
  573. max-min-classes.rs
  574. maximal_mir_to_hir_coverage.rs
  575. maybe-bounds.rs
  576. maybe-bounds.stderr
  577. minus-string.rs
  578. minus-string.stderr
  579. missing_debug_impls.rs
  580. missing_debug_impls.stderr
  581. mod-subitem-as-enum-variant.rs
  582. mod-subitem-as-enum-variant.stderr
  583. module-macro_use-arguments.rs
  584. module-macro_use-arguments.stderr
  585. monomorphize-abi-alignment.rs
  586. msvc-data-only.rs
  587. multibyte.rs
  588. multiline-comment.rs
  589. mut-function-arguments.rs
  590. mutual-recursion-group.rs
  591. myriad-closures.rs
  592. nested-block-comment.rs
  593. nested-cfg-attrs.rs
  594. nested-cfg-attrs.stderr
  595. nested-class.rs
  596. nested-ty-params.rs
  597. nested-ty-params.stderr
  598. new-impl-syntax.rs
  599. new-import-syntax.rs
  600. new-style-constants.rs
  601. new-unicode-escapes.rs
  602. newlambdas.rs
  603. newtype-polymorphic.rs
  604. newtype.rs
  605. no-capture-arc.rs
  606. no-capture-arc.stderr
  607. no-core-1.rs
  608. no-core-2.rs
  609. no-link-unknown-crate.rs
  610. no-link-unknown-crate.stderr
  611. no-patterns-in-args-2.rs
  612. no-patterns-in-args-2.stderr
  613. no-patterns-in-args-macro.rs
  614. no-patterns-in-args-macro.stderr
  615. no-patterns-in-args.rs
  616. no-patterns-in-args.stderr
  617. no-reuse-move-arc.rs
  618. no-reuse-move-arc.stderr
  619. no-send-res-ports.rs
  620. no-send-res-ports.stderr
  621. no-warn-on-field-replace-issue-34101.rs
  622. no_crate_type.rs
  623. no_crate_type.stderr
  624. no_send-enum.rs
  625. no_send-enum.stderr
  626. no_send-rc.rs
  627. no_send-rc.stderr
  628. no_share-enum.rs
  629. no_share-enum.stderr
  630. no_share-struct.rs
  631. no_share-struct.stderr
  632. noexporttypeexe.rs
  633. noexporttypeexe.stderr
  634. non-constant-expr-for-arr-len.rs
  635. non-constant-expr-for-arr-len.stderr
  636. non-copyable-void.rs
  637. non-copyable-void.stderr
  638. non-fmt-panic.fixed
  639. non-fmt-panic.rs
  640. non-fmt-panic.stderr
  641. noncopyable-class.rs
  642. noncopyable-class.stderr
  643. nonscalar-cast.fixed
  644. nonscalar-cast.rs
  645. nonscalar-cast.stderr
  646. not-clone-closure.rs
  647. not-clone-closure.stderr
  648. not-copy-closure.rs
  649. not-copy-closure.stderr
  650. not-enough-arguments.rs
  651. not-enough-arguments.stderr
  652. nul-characters.rs
  653. nullable-pointer-iotareduction.rs
  654. nullable-pointer-size.rs
  655. object-pointer-types.rs
  656. object-pointer-types.stderr
  657. objects-coerce-freeze-borrored.rs
  658. occurs-check-2.rs
  659. occurs-check-2.stderr
  660. occurs-check-3.rs
  661. occurs-check-3.stderr
  662. occurs-check.rs
  663. occurs-check.stderr
  664. once-cant-call-twice-on-heap.rs
  665. once-cant-call-twice-on-heap.stderr
  666. oom_unwind.rs
  667. op-assign-builtins-by-ref.rs
  668. opeq.rs
  669. opt-in-copy.rs
  670. opt-in-copy.stderr
  671. optimization-fuel-0.rs
  672. optimization-fuel-0.stderr
  673. optimization-fuel-1.rs
  674. optimization-fuel-1.stderr
  675. optimization-remark.rs
  676. order-dependent-cast-inference.rs
  677. order-dependent-cast-inference.stderr
  678. orphan-check-diagnostics.rs
  679. orphan-check-diagnostics.stderr
  680. osx-frameworks.rs
  681. osx-frameworks.stderr
  682. out-pointer-aliasing.rs
  683. output-slot-variants.rs
  684. over-constrained-vregs.rs
  685. panic-while-printing.rs
  686. panic_implementation-closures.rs
  687. paren-span.rs
  688. paren-span.stderr
  689. partialeq_help.rs
  690. partialeq_help.stderr
  691. path-lookahead.fixed
  692. path-lookahead.rs
  693. path-lookahead.stderr
  694. path.rs
  695. paths-containing-nul.rs
  696. phantom-auto-trait.rs
  697. phantom-auto-trait.stderr
  698. point-to-type-err-cause-on-impl-trait-return-2.rs
  699. point-to-type-err-cause-on-impl-trait-return-2.stderr
  700. pptypedef.rs
  701. pptypedef.stderr
  702. primitive-binop-lhs-mut.rs
  703. print-stdout-eprint-stderr.rs
  704. project-cache-issue-31849.rs
  705. ptr-coercion-rpass.rs
  706. ptr-coercion.rs
  707. ptr-coercion.stderr
  708. query-visibility.rs
  709. range_inclusive.rs
  710. raw-str.rs
  711. README.md
  712. realloc-16687.rs
  713. reassign-ref-mut.rs
  714. reassign-ref-mut.stderr
  715. reexport-test-harness-main.rs
  716. reify-intrinsic.rs
  717. reify-intrinsic.stderr
  718. removing-extern-crate.fixed
  719. removing-extern-crate.rs
  720. removing-extern-crate.stderr
  721. resource-assign-is-not-copy.rs
  722. resource-destruct.rs
  723. ret-bang.rs
  724. ret-non-nil.rs
  725. ret-non-nil.stderr
  726. return-disjoint-regions.rs
  727. return-disjoint-regions.stderr
  728. return-nil.rs
  729. rustc-error.rs
  730. rustc-error.stderr
  731. rustc-rust-log.rs
  732. seq-args.rs
  733. seq-args.stderr
  734. shadow-bool.rs
  735. shadowed-use-visibility.rs
  736. short-error-format.rs
  737. short-error-format.stderr
  738. simple_global_asm.rs
  739. sized-borrowed-pointer.rs
  740. sized-cycle-note.rs
  741. sized-cycle-note.stderr
  742. sized-owned-pointer.rs
  743. sse2.rs
  744. stable-addr-of.rs
  745. std-backtrace.rs
  746. std-uncopyable-atomics.rs
  747. std-uncopyable-atomics.stderr
  748. stdio-is-blocking.rs
  749. stmt_expr_attrs_no_feature.rs
  750. stmt_expr_attrs_no_feature.stderr
  751. string-box-error.rs
  752. struct-ctor-mangling.rs
  753. suggest-null-ptr.fixed
  754. suggest-null-ptr.rs
  755. suggest-null-ptr.stderr
  756. super-at-top-level.rs
  757. super-at-top-level.stderr
  758. super-fast-paren-parsing.rs
  759. super.rs
  760. svh-add-nothing.rs
  761. swap-1.rs
  762. swap-overlapping.rs
  763. switched-expectations.rs
  764. switched-expectations.stderr
  765. syntax-extension-minor.rs
  766. tag-type-args.rs
  767. tag-type-args.stderr
  768. tag-variant-cast-non-nullary.fixed
  769. tag-variant-cast-non-nullary.rs
  770. tag-variant-cast-non-nullary.stderr
  771. tail-call-arg-leak.rs
  772. tail-cps.rs
  773. tail-typeck.rs
  774. tail-typeck.stderr
  775. tool_lints-fail.rs
  776. tool_lints-fail.stderr
  777. tool_lints-rpass.rs
  778. tool_lints.rs
  779. tool_lints.stderr
  780. tool_lints_2018_preview.rs
  781. trailing-comma.rs
  782. trait-impl-bound-suggestions.fixed
  783. trait-impl-bound-suggestions.rs
  784. trait-impl-bound-suggestions.stderr
  785. trait-method-number-parameters.rs
  786. trait-method-number-parameters.stderr
  787. transmute-equal-assoc-types.rs
  788. transmute-non-immediate-to-immediate.rs
  789. trivial_casts-rpass.rs
  790. trivial_casts-rpass.stderr
  791. try-from-int-error-partial-eq.rs
  792. try-operator-hygiene.rs
  793. try-operator.rs
  794. tydesc-name.rs
  795. type-id-higher-rank-2.rs
  796. type-namespace.rs
  797. type-param-constraints.rs
  798. type-param.rs
  799. type-ptr.rs
  800. type-use-i1-versus-i8.rs
  801. type_length_limit.polonius.stderr
  802. type_length_limit.rs
  803. type_length_limit.stderr
  804. typeid-intrinsic.rs
  805. typestate-multi-decl.rs
  806. unconstrained-none.rs
  807. unconstrained-none.stderr
  808. unconstrained-ref.rs
  809. unconstrained-ref.stderr
  810. underscore-ident-matcher.rs
  811. underscore-ident-matcher.stderr
  812. underscore-lifetimes.rs
  813. underscore-method-after-integer.rs
  814. unevaluated_fixed_size_array_len.rs
  815. unevaluated_fixed_size_array_len.stderr
  816. uninit-empty-types.rs
  817. unit.rs
  818. unknown-language-item.rs
  819. unknown-language-item.stderr
  820. unknown-lint-tool-name.rs
  821. unknown-lint-tool-name.stderr
  822. unknown-llvm-arg.rs
  823. unknown-llvm-arg.stderr
  824. unknown-tool-name.rs
  825. unknown-tool-name.stderr
  826. unnamed_argument_mode.rs
  827. unop-move-semantics.rs
  828. unop-move-semantics.stderr
  829. unop-neg-bool.rs
  830. unop-neg-bool.stderr
  831. unreachable-code-1.rs
  832. unreachable-code.rs
  833. unsigned-literal-negation.rs
  834. unsigned-literal-negation.stderr
  835. unused-move-capture.rs
  836. unused-move.rs
  837. unwind-no-uwtable.rs
  838. use-import-export.rs
  839. use-keyword-2.rs
  840. use-module-level-int-consts.rs
  841. use-nested-groups.rs
  842. used.rs
  843. used.stderr
  844. using-target-feature-unstable.rs
  845. usize-generic-argument-parent.rs
  846. usize-generic-argument-parent.stderr
  847. utf8-bom.rs
  848. utf8_idents.rs
  849. wait-forked-but-failed-child.rs
  850. walk-struct-literal-with.rs
  851. walk-struct-literal-with.stderr
  852. weak-new-uninhabited-issue-48493.rs
  853. weird-exit-code.rs
  854. weird-exprs.rs
  855. windows-subsystem-invalid.rs
  856. windows-subsystem-invalid.stderr
  857. write-fmt-errors.rs
  858. writing-to-immutable-vec.rs
  859. writing-to-immutable-vec.stderr
  860. 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>.