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

Non exported enum variants can be imported from other crates #3135

Closed
msullivan opened this issue Aug 7, 2012 · 3 comments
Closed

Non exported enum variants can be imported from other crates #3135

msullivan opened this issue Aug 7, 2012 · 3 comments
Labels
A-linkage Area: linking into static, shared libraries and binaries
Milestone

Comments

@msullivan
Copy link
Contributor

Non exported enum variants can be imported from other crates, although not by modules in the same crate.

This is because enum variants are unconditionally written out to metadata.

@ghost ghost assigned msullivan Aug 7, 2012
@msullivan
Copy link
Contributor Author

This is somewhat related to #3137.

@ghost ghost assigned msullivan Aug 7, 2012
@msullivan
Copy link
Contributor Author

Static trait methods are going to have the same problem for the time being.

@ghost ghost assigned mozmark and msullivan Aug 8, 2012
@catamorphism
Copy link
Contributor

#4082 supersedes.

RalfJung pushed a commit to RalfJung/rust that referenced this issue Oct 22, 2023
celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
Bumps [tests/perf/s2n-quic](https://github.com/aws/s2n-quic) from
`2d5e891` to `1130df6`.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/aws/s2n-quic/commit/1130df6d2c45e0b5345dbcd2b1a6ea2663dac143"><code>1130df6</code></a>
chore: release 1.35.1 (<a
href="https://redirect.github.com/aws/s2n-quic/issues/2175">#2175</a>)</li>
<li><a
href="https://github.com/aws/s2n-quic/commit/5afe1e1762a036720c805d37b5d79908ec3681d7"><code>5afe1e1</code></a>
fix(s2n-quic-rustls): mark re-exported types as deprecated (<a
href="https://redirect.github.com/aws/s2n-quic/issues/2176">#2176</a>)</li>
<li><a
href="https://github.com/aws/s2n-quic/commit/343fa0d3bb543120e8d6714974569755f9e5707e"><code>343fa0d</code></a>
Revert &quot;feat(s2n-quic-rustls): update rustls from 0.21 to 0.23 (<a
href="https://redirect.github.com/aws/s2n-quic/issues/2143">#2143</a>)&quot;
(<a
href="https://redirect.github.com/aws/s2n-quic/issues/2174">#2174</a>)</li>
<li><a
href="https://github.com/aws/s2n-quic/commit/52ec5a2b4ace813baeb66c5c59b8d42b9ff2efd5"><code>52ec5a2</code></a>
chore(s2n-quic): release 1.35.0 (<a
href="https://redirect.github.com/aws/s2n-quic/issues/2171">#2171</a>)</li>
<li><a
href="https://github.com/aws/s2n-quic/commit/b0fd18a250df1dff72bc4c4e6eb4f1ce179eb133"><code>b0fd18a</code></a>
ci: update quic-interop-runner pinned commit (<a
href="https://redirect.github.com/aws/s2n-quic/issues/2172">#2172</a>)</li>
<li><a
href="https://github.com/aws/s2n-quic/commit/527c88fd05f2f357b22121e832fed0ef21978207"><code>527c88f</code></a>
feat(s2n-quic-core): allow configuration of initial MTU and base MTU (<a
href="https://redirect.github.com/aws/s2n-quic/issues/2162">#2162</a>)</li>
<li>See full diff in <a
href="https://github.com/aws/s2n-quic/compare/2d5e891f3fdc8a88b2d457baceedea5751efaa0d...1130df6d2c45e0b5345dbcd2b1a6ea2663dac143">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-linkage Area: linking into static, shared libraries and binaries
Projects
None yet
Development

No branches or pull requests

3 participants