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