Skip to content

sysroot spans are not printed on some targets (affected: Debian, rust-lang's own i586; unaffected: Fedora) #53081

Closed
@infinity0

Description

@infinity0

EDIT(@eddyb): For a detailed update/explanation, see #53081 (comment).


I'm trying to track down why we have this diff on all arches, which causes that test to fail:

Test, test output

29	   |
30	LL |     fn hash(&self, hasher: &mut impl Hasher) {}
31	   |                                 ^^^^^^^^^^^ expected generic parameter, found `impl Trait`
-	   | 
-	  ::: $SRC_DIR/libcore/hash/mod.rs:185:13
-	   |
-	LL |     fn hash<H: Hasher>(&self, state: &mut H);
-	   |             - declaration in trait here
37	
38	error: aborting due to 3 previous errors
39	

The test passes on Fedora.

Two main things we're doing differently in Debian is that we're currently using cargo 0.27 to build (rather than cargo 0.28) and we also omit some components. However I don't see why either of these should affect the above test output. I also can't see why our other patches should affect it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsA-testsuiteArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.O-x86_32Target: x86 processors, 32 bit (like i686-*) (IA-32)P-highHigh priorityT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions