Comments (1)
I think std::ptr::metadata(std::ptr::null::<Foo>() as *const dyn Trait)
would work.
from rust.
Related Issues (20)
- spurious ci failure: `The process cannot access the file because it is being used by another process` HOT 1
- A problem has to do with tuple and println!()
- Unresolved symbol linker error when running `cargo test` with an `#[used]` static variable on Windows HOT 2
- Assertion failure: Unexpected captures in ABI-compatible shim for Fn/FnMut implementation of coroutine-closure HOT 1
- ICE: assertion failed `Alias(Projection, ..` != `FreshTy(0)` HOT 3
- ICE: `associated_type_for_effects: Defid .. should be Trait or Impl but is TraitAlias` HOT 1
- ICE: `expected type for .. but found Const(false) when instantiating` HOT 1
- ICE: `parent item: DefId(0:5 ~ a[9a36]::{impl#1}) not marked as default` HOT 5
- `-Znext-solver` errors with `impl` for projected `Self` type
- Tracking Issue for anonymous pipe API HOT 2
- tests: double check if tests contain incorrect follow-up error annotation syntax `//|` instead of `//~|` HOT 1
- error: internal compiler error: compiler/rustc_infer/src/infer/at.rs:400:21: relating different kinds. HOT 3
- rustdoc json output on stdout ? HOT 5
- cannot run cargo because windows CMD error : "[0x7FFBC7A07FA4] ANOMALY: use of REX.w is meaningless (default operand size is 64)" HOT 6
- ICE because of a bad file on disk? HOT 7
- confusing error when trying to call a not-in-scope method that shares a name with a field HOT 1
- rustc SIGSEGV compiling rug 1.24.1 crate on RISC-V Armbian 24.5.0 HOT 2
- Clang linker script support - incorrect argument HOT 11
- E0432: "help: a macro with this name exists at the root of the crate" suggestion incorrect HOT 2
- fmt bug for tuple type access HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust.