tree: 42aba632bfe55eeeefb07f1aad69045fc1500223 [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. rustc-env/
  236. rustdoc/
  237. sanitizer/
  238. self/
  239. sepcomp/
  240. shadowed/
  241. shell-argfiles/
  242. simd/
  243. single-use-lifetime/
  244. sized/
  245. span/
  246. specialization/
  247. stability-attribute/
  248. stable-mir-print/
  249. stack-protector/
  250. static/
  251. statics/
  252. stats/
  253. std/
  254. stdlib-unit-tests/
  255. str/
  256. structs/
  257. structs-enums/
  258. suggestions/
  259. svh/
  260. symbol-mangling-version/
  261. symbol-names/
  262. sync/
  263. target-feature/
  264. test-attrs/
  265. thir-print/
  266. thread-local/
  267. threads-sendsync/
  268. tool-attributes/
  269. track-diagnostics/
  270. trait-bounds/
  271. traits/
  272. transmutability/
  273. transmute/
  274. treat-err-as-bug/
  275. trivial-bounds/
  276. try-block/
  277. try-trait/
  278. tuple/
  279. type/
  280. type-alias/
  281. type-alias-enum-variants/
  282. type-alias-impl-trait/
  283. type-inference/
  284. typeck/
  285. typeof/
  286. ufcs/
  287. unboxed-closures/
  288. underscore-imports/
  289. underscore-lifetime/
  290. uniform-paths/
  291. uninhabited/
  292. union/
  293. unknown-unstable-lints/
  294. unpretty/
  295. unresolved/
  296. unsafe/
  297. unsized/
  298. unsized-locals/
  299. unused-crate-deps/
  300. unwind-abis/
  301. use/
  302. variance/
  303. variants/
  304. version/
  305. warnings/
  306. wasm/
  307. wf/
  308. where-clauses/
  309. while/
  310. xcrate/
  311. zero-sized/
  312. .gitattributes
  313. alias-uninit-value.rs
  314. anonymous-higher-ranked-lifetime.rs
  315. anonymous-higher-ranked-lifetime.stderr
  316. artificial-block.rs
  317. as-precedence.rs
  318. assign-assign.rs
  319. assign-imm-local-twice.rs
  320. assign-imm-local-twice.stderr
  321. assoc-lang-items.rs
  322. assoc-lang-items.stderr
  323. assoc-oddities-3.rs
  324. associated-path-shl.rs
  325. associated-path-shl.stderr
  326. atomic-from-mut-not-available.rs
  327. atomic-from-mut-not-available.stderr
  328. attempted-access-non-fatal.rs
  329. attempted-access-non-fatal.stderr
  330. attr-bad-crate-attr.rs
  331. attr-bad-crate-attr.stderr
  332. attr-shebang.rs
  333. attr-start.rs
  334. attr-usage-inline.rs
  335. attr-usage-inline.stderr
  336. attrs-resolution-errors.rs
  337. attrs-resolution-errors.stderr
  338. attrs-resolution.rs
  339. augmented-assignments-feature-gate-cross.rs
  340. augmented-assignments-rpass.rs
  341. augmented-assignments.rs
  342. augmented-assignments.stderr
  343. auto-instantiate.rs
  344. auto-ref-slice-plus-ref.rs
  345. auto-ref-slice-plus-ref.stderr
  346. autoderef-full-lval.rs
  347. autoderef-full-lval.stderr
  348. backtrace-apple-no-dsymutil.rs
  349. backtrace.rs
  350. bare-fn-implements-fn-mut.rs
  351. bare-static-string.rs
  352. big-literals.rs
  353. bind-by-move.rs
  354. bitwise.rs
  355. bogus-tag.rs
  356. bogus-tag.stderr
  357. borrow-by-val-method-receiver.rs
  358. bounds-lifetime.rs
  359. bounds-lifetime.stderr
  360. break-diverging-value.rs
  361. break-diverging-value.stderr
  362. builtin-clone-unwind.rs
  363. by-move-pattern-binding.rs
  364. by-move-pattern-binding.stderr
  365. can-copy-pod.rs
  366. cancel-clean-via-immediate-rvalue-ref.rs
  367. cannot-mutate-captured-non-mut-var.rs
  368. cannot-mutate-captured-non-mut-var.stderr
  369. capture1.rs
  370. capture1.stderr
  371. catch-unwind-bang.rs
  372. cenum_impl_drop_cast.rs
  373. cenum_impl_drop_cast.stderr
  374. cfguard-run.rs
  375. char.rs
  376. check-static-immutable-mut-slices.rs
  377. check-static-immutable-mut-slices.stderr
  378. check-static-recursion-foreign.rs
  379. check-static-values-constraints.rs
  380. check-static-values-constraints.stderr
  381. class-cast-to-trait.rs
  382. class-cast-to-trait.stderr
  383. class-method-missing.rs
  384. class-method-missing.stderr
  385. cleanup-rvalue-for-scope.rs
  386. cleanup-rvalue-scopes-cf.rs
  387. cleanup-rvalue-scopes-cf.stderr
  388. cleanup-rvalue-scopes.rs
  389. cleanup-rvalue-temp-during-incomplete-alloc.rs
  390. cleanup-shortcircuit.rs
  391. close-over-big-then-small-data.rs
  392. command-line-diagnostics.rs
  393. command-line-diagnostics.stderr
  394. compile_error_macro.rs
  395. compile_error_macro.stderr
  396. complex.rs
  397. conflicting-repr-hints.rs
  398. conflicting-repr-hints.stderr
  399. conservative_impl_trait.rs
  400. conservative_impl_trait.stderr
  401. constructor-lifetime-args.rs
  402. constructor-lifetime-args.stderr
  403. copy-a-resource.rs
  404. copy-a-resource.stderr
  405. crate-leading-sep.rs
  406. crate-method-reexport-grrrrrrr.rs
  407. crate-name-attr-used.rs
  408. crate-name-mismatch.rs
  409. crate-name-mismatch.stderr
  410. custom-attribute-multisegment.rs
  411. custom-attribute-multisegment.stderr
  412. custom-test-frameworks-simple.rs
  413. custom_attribute.rs
  414. custom_attribute.stderr
  415. deduplicate-diagnostics.deduplicate.stderr
  416. deduplicate-diagnostics.duplicate.stderr
  417. deduplicate-diagnostics.rs
  418. deep.rs
  419. default-method-parsing.rs
  420. default-method-simple.rs
  421. defaults-well-formedness.rs
  422. deprecation-in-force-unstable.rs
  423. deref-non-pointer.rs
  424. deref-non-pointer.stderr
  425. deref-rc.rs
  426. deref.rs
  427. derive-uninhabited-enum-38885.rs
  428. derive-uninhabited-enum-38885.stderr
  429. destructure-trait-ref.rs
  430. destructure-trait-ref.stderr
  431. diverging-fallback-method-chain.rs
  432. diverging-fallback-option.rs
  433. diverging-fn-tail-35849.rs
  434. diverging-fn-tail-35849.stderr
  435. dont-suggest-private-trait-method.rs
  436. dont-suggest-private-trait-method.stderr
  437. double-ref.rs
  438. double-type-import.rs
  439. double-type-import.stderr
  440. dupe-first-attr.rs
  441. duplicate_entry_error.rs
  442. duplicate_entry_error.stderr
  443. early-ret-binop-add.rs
  444. elide-errors-on-mismatched-tuple.rs
  445. elide-errors-on-mismatched-tuple.stderr
  446. elided-test.rs
  447. elided-test.stderr
  448. else-if.rs
  449. empty-allocation-non-null.rs
  450. empty-allocation-rvalue-non-null.rs
  451. empty-type-parameter-list.rs
  452. empty-type-parameter-list.stderr
  453. empty_global_asm.rs
  454. env-args-reverse-iterator.rs
  455. env-funky-keys.rs
  456. env-null-vars.rs
  457. env-vars.rs
  458. error-festival.rs
  459. error-festival.stderr
  460. error-should-say-copy-not-pod.rs
  461. error-should-say-copy-not-pod.stderr
  462. exclusive-drop-and-copy.rs
  463. exclusive-drop-and-copy.stderr
  464. exec-env.rs
  465. explain.rs
  466. explain.stdout
  467. explicit-i-suffix.rs
  468. explore-issue-38412.rs
  469. explore-issue-38412.stderr
  470. expr-block-fn.rs
  471. expr-block-generic.rs
  472. expr-block.rs
  473. expr-copy.rs
  474. expr-if-generic.rs
  475. expr-if-panic-all.rs
  476. expr-scope.rs
  477. ext-expand-inner-exprs.rs
  478. ext-nonexistent.rs
  479. ext-nonexistent.stderr
  480. fact.rs
  481. fail-simple.rs
  482. fail-simple.stderr
  483. ffi_const.rs
  484. ffi_const.stderr
  485. ffi_const2.rs
  486. ffi_const2.stderr
  487. ffi_pure.rs
  488. ffi_pure.stderr
  489. filter-block-view-items.rs
  490. fn-in-pat.rs
  491. fn-in-pat.stderr
  492. foreign-fn-return-lifetime.rs
  493. foreign-fn-return-lifetime.stderr
  494. format-no-std.rs
  495. fun-indirect-call.rs
  496. future-incompatible-lint-group.rs
  497. future-incompatible-lint-group.stderr
  498. global-scope.rs
  499. hello.rs
  500. illegal-ufcs-drop.fixed
  501. illegal-ufcs-drop.rs
  502. illegal-ufcs-drop.stderr
  503. impl-inherent-non-conflict.rs
  504. impl-not-adjacent-to-type.rs
  505. impl-privacy-xc-1.rs
  506. impl-unused-rps-in-assoc-type.rs
  507. impl-unused-rps-in-assoc-type.stderr
  508. impl-unused-tps-inherent.rs
  509. impl-unused-tps-inherent.stderr
  510. impl-unused-tps.rs
  511. impl-unused-tps.stderr
  512. implicit-method-bind.rs
  513. implicit-method-bind.stderr
  514. impossible_range.fixed
  515. impossible_range.rs
  516. impossible_range.stderr
  517. inc-range-pat.rs
  518. infer-fn-tail-expr.rs
  519. inherit-env.rs
  520. inline-disallow-on-variant.rs
  521. inline-disallow-on-variant.stderr
  522. inlined-main.rs
  523. inner-attrs-on-impl.rs
  524. inner-module.rs
  525. inner-static-type-parameter.rs
  526. inner-static-type-parameter.stderr
  527. inner-static.rs
  528. integral-indexing.rs
  529. integral-indexing.stderr
  530. integral-variable-unification-error.rs
  531. integral-variable-unification-error.stderr
  532. intrinsics-always-extern.rs
  533. intrinsics-always-extern.stderr
  534. invalid_crate_type_syntax.rs
  535. invalid_crate_type_syntax.stderr
  536. invalid_dispatch_from_dyn_impls.rs
  537. invalid_dispatch_from_dyn_impls.stderr
  538. issue-11881.rs
  539. issue-13560.rs
  540. issue-15924.rs
  541. issue-16822.rs
  542. issue-18502.rs
  543. issue-24106.rs
  544. issue-76387-llvm-miscompile.rs
  545. issues-71798.rs
  546. issues-71798.stderr
  547. item-name-overload.rs
  548. kinds-in-metadata.rs
  549. kinds-of-primitive-impl.rs
  550. kinds-of-primitive-impl.stderr
  551. lambda-infer-unresolved.rs
  552. last-use-in-block.rs
  553. last-use-in-cap-clause.rs
  554. last-use-is-capture.rs
  555. lazy-and-or.rs
  556. lexical-scopes.rs
  557. lexical-scopes.stderr
  558. lexical-scoping.rs
  559. link-section.rs
  560. lint-group-denied-lint-allowed.rs
  561. lint-group-forbid-always-trumps-cli.rs
  562. lint-group-forbid-always-trumps-cli.stderr
  563. lint-unknown-lints-at-crate-level.rs
  564. list.rs
  565. log-err-phi.rs
  566. log-knows-the-names-of-variants.rs
  567. log-poly.rs
  568. logging-only-prints-once.rs
  569. loud_ui.rs
  570. main-wrong-location.rs
  571. main-wrong-location.stderr
  572. main-wrong-type.rs
  573. main-wrong-type.stderr
  574. max-min-classes.rs
  575. maximal_mir_to_hir_coverage.rs
  576. maybe-bounds.rs
  577. maybe-bounds.stderr
  578. minus-string.rs
  579. minus-string.stderr
  580. missing_debug_impls.rs
  581. missing_debug_impls.stderr
  582. mod-subitem-as-enum-variant.rs
  583. mod-subitem-as-enum-variant.stderr
  584. module-macro_use-arguments.rs
  585. module-macro_use-arguments.stderr
  586. monomorphize-abi-alignment.rs
  587. msvc-data-only.rs
  588. multibyte.rs
  589. multiline-comment.rs
  590. mut-function-arguments.rs
  591. mutual-recursion-group.rs
  592. myriad-closures.rs
  593. nested-block-comment.rs
  594. nested-cfg-attrs.rs
  595. nested-cfg-attrs.stderr
  596. nested-class.rs
  597. nested-ty-params.rs
  598. nested-ty-params.stderr
  599. new-impl-syntax.rs
  600. new-import-syntax.rs
  601. new-style-constants.rs
  602. new-unicode-escapes.rs
  603. newlambdas.rs
  604. newtype-polymorphic.rs
  605. newtype.rs
  606. no-capture-arc.rs
  607. no-capture-arc.stderr
  608. no-core-1.rs
  609. no-core-2.rs
  610. no-link-unknown-crate.rs
  611. no-link-unknown-crate.stderr
  612. no-patterns-in-args-2.rs
  613. no-patterns-in-args-2.stderr
  614. no-patterns-in-args-macro.rs
  615. no-patterns-in-args-macro.stderr
  616. no-patterns-in-args.rs
  617. no-patterns-in-args.stderr
  618. no-reuse-move-arc.rs
  619. no-reuse-move-arc.stderr
  620. no-send-res-ports.rs
  621. no-send-res-ports.stderr
  622. no-warn-on-field-replace-issue-34101.rs
  623. no_crate_type.rs
  624. no_crate_type.stderr
  625. no_send-enum.rs
  626. no_send-enum.stderr
  627. no_send-rc.rs
  628. no_send-rc.stderr
  629. no_share-enum.rs
  630. no_share-enum.stderr
  631. no_share-struct.rs
  632. no_share-struct.stderr
  633. noexporttypeexe.rs
  634. noexporttypeexe.stderr
  635. non-constant-expr-for-arr-len.rs
  636. non-constant-expr-for-arr-len.stderr
  637. non-copyable-void.rs
  638. non-copyable-void.stderr
  639. non-fmt-panic.fixed
  640. non-fmt-panic.rs
  641. non-fmt-panic.stderr
  642. noncopyable-class.rs
  643. noncopyable-class.stderr
  644. nonscalar-cast.fixed
  645. nonscalar-cast.rs
  646. nonscalar-cast.stderr
  647. not-clone-closure.rs
  648. not-clone-closure.stderr
  649. not-copy-closure.rs
  650. not-copy-closure.stderr
  651. not-enough-arguments.rs
  652. not-enough-arguments.stderr
  653. nul-characters.rs
  654. nullable-pointer-iotareduction.rs
  655. nullable-pointer-size.rs
  656. object-pointer-types.rs
  657. object-pointer-types.stderr
  658. objects-coerce-freeze-borrored.rs
  659. occurs-check-2.rs
  660. occurs-check-2.stderr
  661. occurs-check-3.rs
  662. occurs-check-3.stderr
  663. occurs-check.rs
  664. occurs-check.stderr
  665. once-cant-call-twice-on-heap.rs
  666. once-cant-call-twice-on-heap.stderr
  667. oom_unwind.rs
  668. op-assign-builtins-by-ref.rs
  669. opeq.rs
  670. opt-in-copy.rs
  671. opt-in-copy.stderr
  672. optimization-fuel-0.rs
  673. optimization-fuel-0.stderr
  674. optimization-fuel-1.rs
  675. optimization-fuel-1.stderr
  676. optimization-remark.rs
  677. order-dependent-cast-inference.rs
  678. order-dependent-cast-inference.stderr
  679. orphan-check-diagnostics.rs
  680. orphan-check-diagnostics.stderr
  681. osx-frameworks.rs
  682. osx-frameworks.stderr
  683. out-pointer-aliasing.rs
  684. output-slot-variants.rs
  685. over-constrained-vregs.rs
  686. panic-while-printing.rs
  687. panic_implementation-closures.rs
  688. paren-span.rs
  689. paren-span.stderr
  690. partialeq_help.rs
  691. partialeq_help.stderr
  692. path-lookahead.fixed
  693. path-lookahead.rs
  694. path-lookahead.stderr
  695. path.rs
  696. paths-containing-nul.rs
  697. phantom-auto-trait.rs
  698. phantom-auto-trait.stderr
  699. point-to-type-err-cause-on-impl-trait-return-2.rs
  700. point-to-type-err-cause-on-impl-trait-return-2.stderr
  701. pptypedef.rs
  702. pptypedef.stderr
  703. primitive-binop-lhs-mut.rs
  704. print-stdout-eprint-stderr.rs
  705. project-cache-issue-31849.rs
  706. ptr-coercion-rpass.rs
  707. ptr-coercion.rs
  708. ptr-coercion.stderr
  709. query-visibility.rs
  710. range_inclusive.rs
  711. raw-str.rs
  712. README.md
  713. realloc-16687.rs
  714. reassign-ref-mut.rs
  715. reassign-ref-mut.stderr
  716. reexport-test-harness-main.rs
  717. reify-intrinsic.rs
  718. reify-intrinsic.stderr
  719. removing-extern-crate.fixed
  720. removing-extern-crate.rs
  721. removing-extern-crate.stderr
  722. resource-assign-is-not-copy.rs
  723. resource-destruct.rs
  724. ret-bang.rs
  725. ret-non-nil.rs
  726. ret-non-nil.stderr
  727. return-disjoint-regions.rs
  728. return-disjoint-regions.stderr
  729. return-nil.rs
  730. rustc-error.rs
  731. rustc-error.stderr
  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>.