Skip to content

Figure out why we are printing fully qualified paths for std library for tests #41

Open
@celinval

Description

@celinval

We would like to be able to enable a few test suites from rustc in our repository to provide good test coverage. Unfortunately, the ui based suites (modes ui, mir-opt, and pretty) have a lot of tests failing because of how our test driver prints fully qualified paths for standard library.

E.g.: The MIR output diff look like:

-    _10 = _eprint(move _11) -> [return: bb6, unwind unreachable];
+    _10 = std::io::_eprint(move _11) -> [return: bb6, unwind unreachable];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions