Skip to content

Instantly share code, notes, and snippets.

@rust-play
Created November 9, 2018 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rust-play/fa2dcae2579e5daa6cd77a9f057836e4 to your computer and use it in GitHub Desktop.
Save rust-play/fa2dcae2579e5daa6cd77a9f057836e4 to your computer and use it in GitHub Desktop.
Code shared from the Rust Playground
$ cargo check --features gecko
Compiling style v0.0.1 (/home/simon/servo2/components/style)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:34992:5
|
34992 | std::mem::transmute::<[u8; 228], [u8; nsCSSPropertyID::eCSSProperty_clip as usize]>([0; 228]); // clip
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 228] (1824 bits)
= note: target type: [u8; 234] (1872 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:34993:5
|
34993 | std::mem::transmute::<[u8; 229], [u8; nsCSSPropertyID::eCSSProperty__moz_image_region as usize]>([0; 229]); // -moz-image-region
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 229] (1832 bits)
= note: target type: [u8; 235] (1880 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:34994:5
|
34994 | std::mem::transmute::<[u8; 230], [u8; nsCSSPropertyID::eCSSProperty_grid_template_columns as usize]>([0; 230]); // grid-template-columns
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 230] (1840 bits)
= note: target type: [u8; 236] (1888 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:34995:5
|
34995 | std::mem::transmute::<[u8; 231], [u8; nsCSSPropertyID::eCSSProperty_grid_template_rows as usize]>([0; 231]); // grid-template-rows
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 231] (1848 bits)
= note: target type: [u8; 237] (1896 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:34996:5
|
34996 | std::mem::transmute::<[u8; 232], [u8; nsCSSPropertyID::eCSSProperty_fill as usize]>([0; 232]); // fill
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 232] (1856 bits)
= note: target type: [u8; 238] (1904 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:34997:5
|
34997 | std::mem::transmute::<[u8; 233], [u8; nsCSSPropertyID::eCSSProperty_stroke as usize]>([0; 233]); // stroke
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 233] (1864 bits)
= note: target type: [u8; 239] (1912 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:34998:5
|
34998 | std::mem::transmute::<[u8; 234], [u8; nsCSSPropertyID::eCSSProperty_grid_auto_columns as usize]>([0; 234]); // grid-auto-columns
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 234] (1872 bits)
= note: target type: [u8; 240] (1920 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:34999:5
|
34999 | std::mem::transmute::<[u8; 235], [u8; nsCSSPropertyID::eCSSProperty_grid_auto_rows as usize]>([0; 235]); // grid-auto-rows
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 235] (1880 bits)
= note: target type: [u8; 241] (1928 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35000:5
|
35000 | std::mem::transmute::<[u8; 236], [u8; nsCSSPropertyID::eCSSProperty__moz_window_transform_origin as usize]>([0; 236]); // -moz-window-transform-origin
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 236] (1888 bits)
= note: target type: [u8; 242] (1936 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35001:5
|
35001 | std::mem::transmute::<[u8; 237], [u8; nsCSSPropertyID::eCSSProperty_transform_origin as usize]>([0; 237]); // transform-origin
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 237] (1896 bits)
= note: target type: [u8; 243] (1944 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35002:5
|
35002 | std::mem::transmute::<[u8; 238], [u8; nsCSSPropertyID::eCSSProperty_scroll_snap_points_x as usize]>([0; 238]); // scroll-snap-points-x
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 238] (1904 bits)
= note: target type: [u8; 228] (1824 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35003:5
|
35003 | std::mem::transmute::<[u8; 239], [u8; nsCSSPropertyID::eCSSProperty_scroll_snap_points_y as usize]>([0; 239]); // scroll-snap-points-y
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 239] (1912 bits)
= note: target type: [u8; 229] (1832 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35004:5
|
35004 | std::mem::transmute::<[u8; 240], [u8; nsCSSPropertyID::eCSSProperty__moz_window_transform as usize]>([0; 240]); // -moz-window-transform
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 240] (1920 bits)
= note: target type: [u8; 230] (1840 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35005:5
|
35005 | std::mem::transmute::<[u8; 241], [u8; nsCSSPropertyID::eCSSProperty_transform as usize]>([0; 241]); // transform
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 241] (1928 bits)
= note: target type: [u8; 231] (1848 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35006:5
|
35006 | std::mem::transmute::<[u8; 242], [u8; nsCSSPropertyID::eCSSProperty_column_gap as usize]>([0; 242]); // column-gap
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 242] (1936 bits)
= note: target type: [u8; 232] (1856 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35007:5
|
35007 | std::mem::transmute::<[u8; 243], [u8; nsCSSPropertyID::eCSSProperty_row_gap as usize]>([0; 243]); // row-gap
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 243] (1944 bits)
= note: target type: [u8; 233] (1864 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35011:5
|
35011 | std::mem::transmute::<[u8; 247], [u8; nsCSSPropertyID::eCSSProperty_grid_column_end as usize]>([0; 247]); // grid-column-end
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 247] (1976 bits)
= note: target type: [u8; 255] (2040 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35012:5
|
35012 | std::mem::transmute::<[u8; 248], [u8; nsCSSPropertyID::eCSSProperty_grid_column_start as usize]>([0; 248]); // grid-column-start
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 248] (1984 bits)
= note: target type: [u8; 256] (2048 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35013:5
|
35013 | std::mem::transmute::<[u8; 249], [u8; nsCSSPropertyID::eCSSProperty_grid_row_end as usize]>([0; 249]); // grid-row-end
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 249] (1992 bits)
= note: target type: [u8; 257] (2056 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35014:5
|
35014 | std::mem::transmute::<[u8; 250], [u8; nsCSSPropertyID::eCSSProperty_grid_row_start as usize]>([0; 250]); // grid-row-start
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 250] (2000 bits)
= note: target type: [u8; 258] (2064 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35015:5
|
35015 | std::mem::transmute::<[u8; 251], [u8; nsCSSPropertyID::eCSSProperty_max_block_size as usize]>([0; 251]); // max-block-size
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 251] (2008 bits)
= note: target type: [u8; 247] (1976 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35016:5
|
35016 | std::mem::transmute::<[u8; 252], [u8; nsCSSPropertyID::eCSSProperty_max_height as usize]>([0; 252]); // max-height
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 252] (2016 bits)
= note: target type: [u8; 248] (1984 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35017:5
|
35017 | std::mem::transmute::<[u8; 253], [u8; nsCSSPropertyID::eCSSProperty_max_inline_size as usize]>([0; 253]); // max-inline-size
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 253] (2024 bits)
= note: target type: [u8; 249] (1992 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35018:5
|
35018 | std::mem::transmute::<[u8; 254], [u8; nsCSSPropertyID::eCSSProperty_max_width as usize]>([0; 254]); // max-width
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 254] (2032 bits)
= note: target type: [u8; 250] (2000 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35019:5
|
35019 | std::mem::transmute::<[u8; 255], [u8; nsCSSPropertyID::eCSSProperty_marker_end as usize]>([0; 255]); // marker-end
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 255] (2040 bits)
= note: target type: [u8; 251] (2008 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35020:5
|
35020 | std::mem::transmute::<[u8; 256], [u8; nsCSSPropertyID::eCSSProperty_marker_mid as usize]>([0; 256]); // marker-mid
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 256] (2048 bits)
= note: target type: [u8; 252] (2016 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35021:5
|
35021 | std::mem::transmute::<[u8; 257], [u8; nsCSSPropertyID::eCSSProperty_marker_start as usize]>([0; 257]); // marker-start
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 257] (2056 bits)
= note: target type: [u8; 253] (2024 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35022:5
|
35022 | std::mem::transmute::<[u8; 258], [u8; nsCSSPropertyID::eCSSProperty__moz_binding as usize]>([0; 258]); // -moz-binding
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 258] (2064 bits)
= note: target type: [u8; 254] (2032 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35023:5
|
35023 | std::mem::transmute::<[u8; 259], [u8; nsCSSPropertyID::eCSSProperty_border_bottom_left_radius as usize]>([0; 259]); // border-bottom-left-radius
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 259] (2072 bits)
= note: target type: [u8; 267] (2136 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35024:5
|
35024 | std::mem::transmute::<[u8; 260], [u8; nsCSSPropertyID::eCSSProperty_border_bottom_right_radius as usize]>([0; 260]); // border-bottom-right-radius
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 260] (2080 bits)
= note: target type: [u8; 268] (2144 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35025:5
|
35025 | std::mem::transmute::<[u8; 261], [u8; nsCSSPropertyID::eCSSProperty_border_top_left_radius as usize]>([0; 261]); // border-top-left-radius
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 261] (2088 bits)
= note: target type: [u8; 269] (2152 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35026:5
|
35026 | std::mem::transmute::<[u8; 262], [u8; nsCSSPropertyID::eCSSProperty_border_top_right_radius as usize]>([0; 262]); // border-top-right-radius
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 262] (2096 bits)
= note: target type: [u8; 270] (2160 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35027:5
|
35027 | std::mem::transmute::<[u8; 263], [u8; nsCSSPropertyID::eCSSProperty__moz_outline_radius_bottomleft as usize]>([0; 263]); // -moz-outline-radius-bottomleft
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 263] (2104 bits)
= note: target type: [u8; 271] (2168 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35028:5
|
35028 | std::mem::transmute::<[u8; 264], [u8; nsCSSPropertyID::eCSSProperty__moz_outline_radius_bottomright as usize]>([0; 264]); // -moz-outline-radius-bottomright
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 264] (2112 bits)
= note: target type: [u8; 272] (2176 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35029:5
|
35029 | std::mem::transmute::<[u8; 265], [u8; nsCSSPropertyID::eCSSProperty__moz_outline_radius_topleft as usize]>([0; 265]); // -moz-outline-radius-topleft
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 265] (2120 bits)
= note: target type: [u8; 273] (2184 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35030:5
|
35030 | std::mem::transmute::<[u8; 266], [u8; nsCSSPropertyID::eCSSProperty__moz_outline_radius_topright as usize]>([0; 266]); // -moz-outline-radius-topright
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 266] (2128 bits)
= note: target type: [u8; 274] (2192 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35031:5
|
35031 | std::mem::transmute::<[u8; 267], [u8; nsCSSPropertyID::eCSSProperty_block_size as usize]>([0; 267]); // block-size
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 267] (2136 bits)
= note: target type: [u8; 259] (2072 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35032:5
|
35032 | std::mem::transmute::<[u8; 268], [u8; nsCSSPropertyID::eCSSProperty_height as usize]>([0; 268]); // height
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 268] (2144 bits)
= note: target type: [u8; 260] (2080 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35033:5
|
35033 | std::mem::transmute::<[u8; 269], [u8; nsCSSPropertyID::eCSSProperty_inline_size as usize]>([0; 269]); // inline-size
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 269] (2152 bits)
= note: target type: [u8; 261] (2088 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35034:5
|
35034 | std::mem::transmute::<[u8; 270], [u8; nsCSSPropertyID::eCSSProperty_min_block_size as usize]>([0; 270]); // min-block-size
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 270] (2160 bits)
= note: target type: [u8; 262] (2096 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35035:5
|
35035 | std::mem::transmute::<[u8; 271], [u8; nsCSSPropertyID::eCSSProperty_min_height as usize]>([0; 271]); // min-height
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 271] (2168 bits)
= note: target type: [u8; 263] (2104 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35036:5
|
35036 | std::mem::transmute::<[u8; 272], [u8; nsCSSPropertyID::eCSSProperty_min_inline_size as usize]>([0; 272]); // min-inline-size
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 272] (2176 bits)
= note: target type: [u8; 264] (2112 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35037:5
|
35037 | std::mem::transmute::<[u8; 273], [u8; nsCSSPropertyID::eCSSProperty_min_width as usize]>([0; 273]); // min-width
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 273] (2184 bits)
= note: target type: [u8; 265] (2120 bits)
error[E0512]: transmute called with types of different sizes
--> /home/simon/servo2/target/debug/build/style-692530cdf4845577/out/properties.rs:35038:5
|
35038 | std::mem::transmute::<[u8; 274], [u8; nsCSSPropertyID::eCSSProperty_width as usize]>([0; 274]); // width
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: source type: [u8; 274] (2192 bits)
= note: target type: [u8; 266] (2128 bits)
error: aborting due to 44 previous errors
For more information about this error, try `rustc --explain E0512`.
error: Could not compile `style`.
To learn more, run the command again with --verbose.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment