rust-lang / rust-lang/rustc-dev-guide

Document new mir-opt test format.

Open
#701 8 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-mir-opt A-test-suite C-cleanup E-easy E-mentor T-compiler
Dominant language
HTML
Stars
1.9k
Forks
613
Avg merge
17h 24m
Merged PRs (30d)
39

Description

Hi,

It seems that the format of the mir-opt tests have recently changed. It'd be nice if this page could document the new format:
https://rustc-dev-guide.rust-lang.org/tests/adding.html

In the meantime, could someone confirm that mir-opt tests can no longer use elisions (...)?

I maintain a fork of rustc and I have a load of tests which rely heavily on elision. It wouldn't be possible to do exact comparisons as mir-opt now (seems to?) require, so I need to figure out what to do with them :\

Thanks

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the rustc-dev-guide page at https://rustc-dev-guide.rust-lang.org/tests/adding.html and investigate the current mir-opt test format. Confirm whether mir-opt tests still support elisions such as ..., then document the new format and the answer to that compatibility question on the page.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.