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

Add tests related to normalization in implied bounds #118512

Merged
merged 2 commits into from
Dec 9, 2023

Conversation

spastorino
Copy link
Member

Getting @aliemjay's tests from #109763, so we can better track what's going on in every different example.

r? @jackh726

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Dec 1, 2023
@jackh726
Copy link
Member

jackh726 commented Dec 1, 2023

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Dec 1, 2023

📌 Commit aa417ca has been approved by jackh726

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 1, 2023
@jackh726
Copy link
Member

jackh726 commented Dec 1, 2023

@bors r-

Let's actually include a test with the Bevy regression here too.

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Dec 1, 2023
@spastorino spastorino force-pushed the add-implied-bounds-related-tests branch 2 times, most recently from adea760 to b846fe0 Compare December 8, 2023 21:24
@@ -0,0 +1,20 @@
// Related to Bevy regression #118553

pub mod system {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please just online this into the test itself - the special casing does not use the path.

// aux-crate:bevy_ecs=bevy_ecs.rs
// check-pass

// We currently special case bevy from emitting the `IMPLIED_BOUNDS_FROM_TRAIT_IMPL` lint.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment needs to be updated - no special casing yet.

@@ -0,0 +1,29 @@
// check-pass

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a comment where this comes from.

@spastorino spastorino force-pushed the add-implied-bounds-related-tests branch from b846fe0 to 7079adb Compare December 8, 2023 23:14
@jackh726
Copy link
Member

jackh726 commented Dec 9, 2023

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Dec 9, 2023

📌 Commit 7079adb has been approved by jackh726

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Dec 9, 2023
workingjubilee added a commit to workingjubilee/rustc that referenced this pull request Dec 9, 2023
…ted-tests, r=jackh726

Add tests related to normalization in implied bounds

Getting `@aliemjay's` tests from rust-lang#109763, so we can better track what's going on in every different example.

r? `@jackh726`
workingjubilee added a commit to workingjubilee/rustc that referenced this pull request Dec 9, 2023
…ted-tests, r=jackh726

Add tests related to normalization in implied bounds

Getting ``@aliemjay's`` tests from rust-lang#109763, so we can better track what's going on in every different example.

r? ``@jackh726``
bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 9, 2023
…kingjubilee

Rollup of 8 pull requests

Successful merges:

 - rust-lang#118198 (coverage: Use `SpanMarker` to improve coverage spans for `if !` expressions)
 - rust-lang#118512 (Add tests related to normalization in implied bounds)
 - rust-lang#118610 (update target feature following LLVM API change)
 - rust-lang#118666 (coverage: Simplify the heuristic for ignoring `async fn` return spans)
 - rust-lang#118737 (Extend tidy alphabetical checking to `tests/`.)
 - rust-lang#118756 (use bold magenta instead of bold white for highlighting)
 - rust-lang#118762 (Some more minor `async gen`-related nits)
 - rust-lang#118764 (Make async generators fused by default)

r? `@ghost`
`@rustbot` modify labels: rollup
bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 9, 2023
…kingjubilee

Rollup of 7 pull requests

Successful merges:

 - rust-lang#118198 (coverage: Use `SpanMarker` to improve coverage spans for `if !` expressions)
 - rust-lang#118512 (Add tests related to normalization in implied bounds)
 - rust-lang#118610 (update target feature following LLVM API change)
 - rust-lang#118666 (coverage: Simplify the heuristic for ignoring `async fn` return spans)
 - rust-lang#118737 (Extend tidy alphabetical checking to `tests/`.)
 - rust-lang#118762 (Some more minor `async gen`-related nits)
 - rust-lang#118764 (Make async generators fused by default)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 8f9d827 into rust-lang:master Dec 9, 2023
11 checks passed
@rustbot rustbot added this to the 1.76.0 milestone Dec 9, 2023
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Dec 9, 2023
Rollup merge of rust-lang#118512 - spastorino:add-implied-bounds-related-tests, r=jackh726

Add tests related to normalization in implied bounds

Getting ```@aliemjay's``` tests from rust-lang#109763, so we can better track what's going on in every different example.

r? ```@jackh726```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants