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

As part of an ongoing 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 a legacy compiletest-style test header. To fix this, you should migrate to the ui_test-style header //@ <content>.