Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fn main() {
- println!("{:?}", {
- extern crate smallvec; ::std::mem::size_of::<smallvec::SmallVec<[u64; 10]>>>>()
- });
- }
- /* ~~~~=== stderr ===~~~~
- Compiling playground v0.0.1 (file:///playground)
- error[E0369]: binary operation `>>` cannot be applied to type `fn() -> usize {std::mem::size_of::<main::smallvec::SmallVec<[u64; 10]>>}`
- --> src/main.rs:5:32
- |
- 5 | extern crate smallvec; ::std::mem::size_of::<smallvec::SmallVec<[u64; 10]>>>>()
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: an implementation of `std::ops::Shr` might be missing for `fn() -> usize {std::mem::size_of::<main::smallvec::SmallVec<[u64; 10]>>}`
- error: aborting due to previous error
- For more information about this error, try `rustc --explain E0369`.
- error: Could not compile `playground`.
- To learn more, run the command again with --verbose.
- */
- /* ~~~~=== stdout ===~~~~
- */
Add Comment
Please, Sign In to add comment