Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests/ui/lifetimes/issue-95023.rs fails on PowerPC systems because of B type in AltiVec #128447

Closed
awilfox opened this issue Jul 31, 2024 · 4 comments
Labels
C-bug Category: This is a bug. O-PowerPC Target: PowerPC processors

Comments

@awilfox
Copy link
Contributor

awilfox commented Jul 31, 2024

I tried this code:

python3 x.py test -j 64 tests/ui

I expected to see this happen: all tests to pass.

Instead, this happened:

diff of stderr:

54	  --> $DIR/issue-95023.rs:8:44
55	   |
56	LL |     fn foo<const N: usize>(&self) -> Self::B<{ N }>;
-	   |                                            ^ help: `Self` has the following associated type: `Output`
+	   |                                            ^ there is an associated type `B` in the trait `core::core_arch::powerpc::altivec::sealed::VectorRl`
58	
59	error: aborting due to 7 previous errors
60	

Meta

rustc --version --verbose:

rustc 1.82.0-nightly (249cf71f1 2024-07-30) (Adélie 1.82.0 EXPERIMENTAL)
binary: rustc
commit-hash: 249cf71f11a29b3fb68e8a35969569d8bb7958ee
commit-date: 2024-07-30
host: powerpc64-foxkit-linux-musl
release: 1.82.0-nightly
LLVM version: 18.1.8
@awilfox awilfox added the C-bug Category: This is a bug. label Jul 31, 2024
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Jul 31, 2024
@Thewsthews
Copy link

Thewsthews commented Jul 31, 2024

Perhaps there is a mismatch between the associated tupe and whats actually defined
Try:
Checking the trait definition:
Look at the core::core_arch::powerpc::altivec::sealed::VectorRl trait. It seems to have an associated type difference

@tgross35
Copy link
Contributor

tgross35 commented Jul 31, 2024

Could you post your system info and the current commit of rust-lang/rust you are working from? We test ppc in CI so it seems unusual that something like this would differ locally.

@Thewsthews
Copy link

Currently not working from any commit
I thought maybe that could be the problem just from a point of view

@tgross35
Copy link
Contributor

It looks like this is a duplicate of #126260. Thanks for the report, feel free to follow up on that issue.

@tgross35 tgross35 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 31, 2024
@workingjubilee workingjubilee added the O-PowerPC Target: PowerPC processors label Aug 3, 2024
@saethlin saethlin removed the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. O-PowerPC Target: PowerPC processors
Projects
None yet
Development

No branches or pull requests

6 participants