Skip to content

Fix bounds on derefs_to matcher - #818

Open
tguichaoua wants to merge 1 commit into
google:mainfrom
tguichaoua:relax_derefs_to_bounds
Open

Fix bounds on derefs_to matcher#818
tguichaoua wants to merge 1 commit into
google:mainfrom
tguichaoua:relax_derefs_to_bounds

Conversation

@tguichaoua

@tguichaoua tguichaoua commented Jun 11, 2026

Copy link
Copy Markdown

Closes #786

  • Remove Copy bound on ExpectedT as it's not actually required
  • Add ?Sized on ActualT and ExpectedT as they both used behind a reference
  • Add a test that cannot compile without those changes

@google-cla

google-cla Bot commented Jun 11, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@tguichaoua
tguichaoua force-pushed the relax_derefs_to_bounds branch from a6de553 to 7aabab4 Compare June 11, 2026 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

derefs_to should not requires ExpectedT to be Copy

1 participant