{"action":"created","issue":{"url":"https://api.github.com/repos/servo/servo/issues/12460","repository_url":"https://api.github.com/repos/servo/servo","labels_url":"https://api.github.com/repos/servo/servo/issues/12460/labels{/name}","comments_url":"https://api.github.com/repos/servo/servo/issues/12460/comments","events_url":"https://api.github.com/repos/servo/servo/issues/12460/events","html_url":"https://github.com/servo/servo/issues/12460","id":165793530,"number":12460,"title":"Review enums with large variant size differences","user":{"login":"Ms2ger","id":111161,"avatar_url":"https://avatars.githubusercontent.com/u/111161?v=3","gravatar_id":"","url":"https://api.github.com/users/Ms2ger","html_url":"https://github.com/Ms2ger","followers_url":"https://api.github.com/users/Ms2ger/followers","following_url":"https://api.github.com/users/Ms2ger/following{/other_user}","gists_url":"https://api.github.com/users/Ms2ger/gists{/gist_id}","starred_url":"https://api.github.com/users/Ms2ger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ms2ger/subscriptions","organizations_url":"https://api.github.com/users/Ms2ger/orgs","repos_url":"https://api.github.com/users/Ms2ger/repos","events_url":"https://api.github.com/users/Ms2ger/events{/privacy}","received_events_url":"https://api.github.com/users/Ms2ger/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/servo/servo/labels/I-perf-bloat","name":"I-perf-bloat","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-15T14:02:37Z","updated_at":"2016-07-18T13:56:49Z","closed_at":null,"body":"We may want to fix some of these:\r\n```\r\n/components/util/ipc.rs:94:1: 97:2 warning: enum variant is more than three times larger (32 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/components/util/ipc.rs:94 pub enum OptionalOpaqueIpcSender {\r\n                           ^\r\n/components/util/ipc.rs:96:5: 96:28 note: this variant is the largest\r\n/components/util/ipc.rs:96     InProcess(OpaqueSender),\r\n                               ^~~~~~~~~~~~~~~~~~~~~~~\r\n/components/profile_traits/time.rs:28:1: 35:2 warning: enum variant is more than three times larger (72 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/components/profile_traits/time.rs:28 pub enum ProfilerMsg {\r\n                                      ^\r\n/components/profile_traits/time.rs:30:5: 30:76 note: this variant is the largest\r\n/components/profile_traits/time.rs:30     Time((ProfilerCategory, Option<TimerMetadata>), (u64, u64), (u64, u64)),\r\n                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/components/devtools_traits/lib.rs:65:1: 73:2 warning: enum variant is more than three times larger (296 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/components/devtools_traits/lib.rs:65 pub enum ChromeToDevtoolsControlMsg {\r\n                                      ^\r\n/components/devtools_traits/lib.rs:72:5: 72:39 note: this variant is the largest\r\n/components/devtools_traits/lib.rs:72     NetworkEvent(String, NetworkEvent),\r\n                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/components/gfx_traits/lib.rs:282:1: 288:2 warning: enum variant is more than three times larger (28 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/components/gfx_traits/lib.rs:282 pub enum ChromeToPaintMsg {\r\n                                  ^\r\n/components/gfx_traits/lib.rs:283:5: 283:42 note: this variant is the largest\r\n/components/gfx_traits/lib.rs:283     Paint(Vec<PaintRequest>, FrameTreeId),\r\n                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/components/net_traits/lib.rs:163:1: 171:2 warning: enum variant is more than three times larger (392 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/components/net_traits/lib.rs:163 pub enum FetchResponseMsg {\r\n                                  ^\r\n/components/net_traits/lib.rs:168:5: 168:52 note: this variant is the largest\r\n/components/net_traits/lib.rs:168     ProcessResponse(Result<Metadata, NetworkError>),\r\n                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/components/net_traits/lib.rs:254:1: 261:2 warning: enum variant is more than three times larger (392 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/components/net_traits/lib.rs:254 pub enum ResponseAction {\r\n                                  ^\r\n/components/net_traits/lib.rs:256:5: 256:53 note: this variant is the largest\r\n/components/net_traits/lib.rs:256     HeadersAvailable(Result<Metadata, NetworkError>),\r\n                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/components/net_traits/lib.rs:625:1: 630:2 warning: enum variant is more than three times larger (128 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/components/net_traits/lib.rs:625 pub enum ProgressMsg {\r\n                                  ^\r\n/components/net_traits/lib.rs:629:5: 629:35 note: this variant is the largest\r\n/components/net_traits/lib.rs:629     Done(Result<(), NetworkError>),\r\n                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/components/net_traits/lib.rs:670:1: 676:2 warning: enum variant is more than three times larger (112 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/components/net_traits/lib.rs:670 pub enum NetworkError {\r\n                                  ^\r\n/components/net_traits/lib.rs:675:5: 675:31 note: this variant is the largest\r\n/components/net_traits/lib.rs:675     SslValidation(Url, String),\r\n                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/components/net_traits/filemanager_thread.rs:124:1: 159:2 warning: enum variant is more than three times larger (456 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/components/net_traits/filemanager_thread.rs:124 pub enum FileManagerThreadMsg {\r\n                                                 ^\r\n/components/net_traits/filemanager_thread.rs:135:5: 135:37 note: this variant is the largest\r\n/components/net_traits/filemanager_thread.rs:135     LoadBlob(LoadData, LoadConsumer),\r\n                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/components/canvas_traits/lib.rs:60:1: 63:2 warning: enum variant is more than three times larger (40 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/components/canvas_traits/lib.rs:60 pub enum CanvasData {\r\n                                    ^\r\n/components/canvas_traits/lib.rs:61:5: 61:28 note: this variant is the largest\r\n/components/canvas_traits/lib.rs:61     Pixels(CanvasPixelData),\r\n                                        ^~~~~~~~~~~~~~~~~~~~~~~\r\n/components/style/font_face.rs:18:1: 21:2 warning: enum variant is more than three times larger (112 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/components/style/font_face.rs:18 pub enum Source {\r\n                                  ^\r\n/components/style/font_face.rs:19:5: 19:19 note: this variant is the largest\r\n/components/style/font_face.rs:19     Url(UrlSource),\r\n                                      ^~~~~~~~~~~~~~\r\n/components/style/values.rs:246:5: 258:6 warning: enum variant is more than three times larger (112 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/components/style/values.rs:246     pub enum Length {\r\n                                    ^\r\n/components/style/values.rs:257:9: 257:37 note: this variant is the largest\r\n/components/style/values.rs:257         Calc(CalcLengthOrPercentage),\r\n                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/components/style/values.rs:399:5: 406:6 warning: enum variant is more than three times larger (116 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/components/style/values.rs:399     enum CalcValueNode {\r\n                                    ^\r\n/components/style/values.rs:400:9: 400:23 note: this variant is the largest\r\n/components/style/values.rs:400         Length(Length),\r\n                                        ^~~~~~~~~~~~~~\r\n/components/style/values.rs:424:5: 431:6 warning: enum variant is more than three times larger (116 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/components/style/values.rs:424     enum SimplifiedValueNode {\r\n                                    ^\r\n/components/style/values.rs:425:9: 425:23 note: this variant is the largest\r\n/components/style/values.rs:425         Length(Length),\r\n                                        ^~~~~~~~~~~~~~\r\n/components/style/values.rs:1788:5: 1792:6 warning: enum variant is more than three times larger (16 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/components/style/values.rs:1788     pub enum LengthOrPercentage {\r\n                                     ^\r\n/components/style/values.rs:1791:9: 1791:37 note: this variant is the largest\r\n/components/style/values.rs:1791         Calc(CalcLengthOrPercentage),\r\n                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/components/style/values.rs:1854:5: 1859:6 warning: enum variant is more than three times larger (16 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/components/style/values.rs:1854     pub enum LengthOrPercentageOrAuto {\r\n                                     ^\r\n/components/style/values.rs:1858:9: 1858:37 note: this variant is the largest\r\n/components/style/values.rs:1858         Calc(CalcLengthOrPercentage),\r\n                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/components/style/values.rs:1922:5: 1928:6 warning: enum variant is more than three times larger (16 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/components/style/values.rs:1922     pub enum LengthOrPercentageOrAutoOrContent {\r\n                                     ^\r\n/components/style/values.rs:1925:9: 1925:37 note: this variant is the largest\r\n/components/style/values.rs:1925         Calc(CalcLengthOrPercentage),\r\n                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/components/style/values.rs:1981:5: 1986:6 warning: enum variant is more than three times larger (16 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/components/style/values.rs:1981     pub enum LengthOrPercentageOrNone {\r\n                                     ^\r\n/components/style/values.rs:1984:9: 1984:37 note: this variant is the largest\r\n/components/style/values.rs:1984         Calc(CalcLengthOrPercentage),\r\n                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/components/canvas/webgl_paint_thread.rs:16:1: 19:2 warning: enum variant is more than three times larger (160 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/components/canvas/webgl_paint_thread.rs:16 enum WebGLPaintTaskData {\r\n                                            ^\r\n/components/canvas/webgl_paint_thread.rs:18:5: 18:110 note: this variant is the largest\r\n/components/canvas/webgl_paint_thread.rs:18     Readback(GLContext<NativeGLContext>, (Option<(webrender_traits::RenderApi, webrender_traits::ImageKey)>)),\r\n                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/target/debug/build/style-6b6f9c38b8c8c3df/out/properties.rs:5192:9: 5195:10 warning: enum variant is more than three times larger (16 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/target/debug/build/style-6b6f9c38b8c8c3df/out/properties.rs:5192         pub enum TransitionTimingFunction {\r\n                                                                          ^\r\n/components/style/lib.rs:114:5: 114:58 note: in this expansion of include!\r\n/target/debug/build/style-6b6f9c38b8c8c3df/out/properties.rs:5193:13: 5193:52 note: this variant is the largest\r\n/target/debug/build/style-6b6f9c38b8c8c3df/out/properties.rs:5193             CubicBezier(Point2D<f32>, Point2D<f32>),\r\n                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/components/style/lib.rs:114:5: 114:58 note: in this expansion of include!\r\n/target/debug/build/style-6b6f9c38b8c8c3df/out/properties.rs:9092:5: 9102:6 warning: enum variant is more than three times larger (116 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/target/debug/build/style-6b6f9c38b8c8c3df/out/properties.rs:9092     pub enum SpecifiedFilter {\r\n                                                                      ^\r\n/components/style/lib.rs:114:5: 114:58 note: in this expansion of include!\r\n/target/debug/build/style-6b6f9c38b8c8c3df/out/properties.rs:9093:9: 9093:21 note: this variant is the largest\r\n/target/debug/build/style-6b6f9c38b8c8c3df/out/properties.rs:9093         Blur(Length),\r\n                                                                          ^~~~~~~~~~~~\r\n/components/style/lib.rs:114:5: 114:58 note: in this expansion of include!\r\n/target/debug/build/style-6b6f9c38b8c8c3df/out/properties.rs:9515:5: 9525:6 warning: enum variant is more than three times larger (357 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/target/debug/build/style-6b6f9c38b8c8c3df/out/properties.rs:9515     enum SpecifiedOperation {\r\n                                                                      ^\r\n/components/style/lib.rs:114:5: 114:58 note: in this expansion of include!\r\n/target/debug/build/style-6b6f9c38b8c8c3df/out/properties.rs:9518:9: 9521:37 note: this variant is the largest\r\n/target/debug/build/style-6b6f9c38b8c8c3df/out/properties.rs:9518         Translate(TranslateKind,\r\n                                                                          ^\r\n/components/style/lib.rs:114:5: 114:58 note: in this expansion of include!\r\n/target/debug/build/style-6b6f9c38b8c8c3df/out/properties.rs:13570:5: 13574:6 warning: enum variant is more than three times larger (120 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/target/debug/build/style-6b6f9c38b8c8c3df/out/properties.rs:13570     pub enum SpecifiedValue {\r\n                                                                       ^\r\n/components/style/lib.rs:114:5: 114:58 note: in this expansion of include!\r\n/target/debug/build/style-6b6f9c38b8c8c3df/out/properties.rs:13573:9: 13573:58 note: this variant is the largest\r\n/target/debug/build/style-6b6f9c38b8c8c3df/out/properties.rs:13573         LengthOrPercentage(specified::LengthOrPercentage),\r\n                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/components/style/lib.rs:114:5: 114:58 note: in this expansion of include!\r\n/components/net/http_loader.rs:584:1: 589:2 warning: enum variant is more than three times larger (2736 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/components/net/http_loader.rs:584 enum Decoder {\r\n                                   ^\r\n/components/net/http_loader.rs:587:5: 587:44 note: this variant is the largest\r\n/components/net/http_loader.rs:587     Brotli(Decompressor<Box<HttpResponse>>),\r\n                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/components/net/image_cache_thread.rs:56:1: 60:2 warning: enum variant is more than three times larger (56 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/components/net/image_cache_thread.rs:56 enum LoadResult {\r\n                                         ^\r\n/components/net/image_cache_thread.rs:57:5: 57:18 note: this variant is the largest\r\n/components/net/image_cache_thread.rs:57     Loaded(Image),\r\n                                             ^~~~~~~~~~~~~\r\n/components/net/image_cache_thread.rs:292:1: 296:2 warning: enum variant is more than three times larger (408 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/components/net/image_cache_thread.rs:292 enum SelectResult {\r\n                                          ^\r\n/components/net/image_cache_thread.rs:294:5: 294:31 note: this variant is the largest\r\n/components/net/image_cache_thread.rs:294     Progress(ResourceLoadInfo),\r\n                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/components/script_traits/script_msg.rs:25:1: 32:2 warning: enum variant is more than three times larger (40 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/components/script_traits/script_msg.rs:25 pub enum LayoutMsg {\r\n                                           ^\r\n/components/script_traits/script_msg.rs:31:5: 31:57 note: this variant is the largest\r\n/components/script_traits/script_msg.rs:31     ViewportConstrained(PipelineId, ViewportConstraints),\r\n                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/components/script_traits/webdriver_msg.rs:15:1: 35:2 warning: enum variant is more than three times larger (208 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/components/script_traits/webdriver_msg.rs:15 pub enum WebDriverScriptCommand {\r\n                                              ^\r\n/components/script_traits/webdriver_msg.rs:16:5: 16:67 note: this variant is the largest\r\n/components/script_traits/webdriver_msg.rs:16     AddCookie(Cookie, IpcSender<Result<(), WebDriverCookieError>>),\r\n                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/components/script_traits/webdriver_msg.rs:62:1: 66:2 warning: enum variant is more than three times larger (24 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/components/script_traits/webdriver_msg.rs:62 pub enum WebDriverFrameId {\r\n                                              ^\r\n/components/script_traits/webdriver_msg.rs:64:5: 64:20 note: this variant is the largest\r\n/components/script_traits/webdriver_msg.rs:64     Element(String),\r\n                                                  ^~~~~~~~~~~~~~~\r\n/components/compositing/compositor.rs:267:1: 271:2 warning: enum variant is more than three times larger (8 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/components/compositing/compositor.rs:267 enum CompositionRequest {\r\n                                          ^\r\n/components/compositing/compositor.rs:269:5: 269:26 note: this variant is the largest\r\n/components/compositing/compositor.rs:269     DelayedComposite(u64),\r\n                                              ^~~~~~~~~~~~~~~~~~~~~\r\n/components/constellation/pipeline.rs:42:1: 47:2 warning: enum variant is more than three times larger (48 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/components/constellation/pipeline.rs:42 pub enum ChildProcess {\r\n                                         ^\r\n/components/constellation/pipeline.rs:46:5: 46:32 note: this variant is the largest\r\n/components/constellation/pipeline.rs:46     Unsandboxed(process::Child),\r\n                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/components/layout/construct.rs:66:1: 79:2 warning: enum variant is more than three times larger (168 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/components/layout/construct.rs:66 pub enum ConstructionResult {\r\n                                   ^\r\n/components/layout/construct.rs:78:5: 78:39 note: this variant is the largest\r\n/components/layout/construct.rs:78     ConstructionItem(ConstructionItem),\r\n                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/target/debug/build/script-840aa1280c28a339/out/InheritTypes.rs:49:1: 61:2 warning: enum variant is more than three times larger (4 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/target/debug/build/script-840aa1280c28a339/out/InheritTypes.rs:49 pub enum EventTargetTypeId {\r\n                                                                   ^\r\n/components/script/dom/bindings/mod.rs:166:9: 166:64 note: in this expansion of include!\r\n/target/debug/build/script-840aa1280c28a339/out/InheritTypes.rs:52:5: 52:21 note: this variant is the largest\r\n/target/debug/build/script-840aa1280c28a339/out/InheritTypes.rs:52     Node(NodeTypeId),\r\n                                                                       ^~~~~~~~~~~~~~~~\r\n/components/script/dom/bindings/mod.rs:166:9: 166:64 note: in this expansion of include!\r\n/target/debug/build/script-840aa1280c28a339/out/UnionTypes.rs:74:1: 77:2 warning: enum variant is more than three times larger (24 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/target/debug/build/script-840aa1280c28a339/out/UnionTypes.rs:74 pub enum BlobOrBoolean {\r\n                                                                 ^\r\n/components/script/dom/bindings/mod.rs:176:9: 176:62 note: in this expansion of include!\r\n/target/debug/build/script-840aa1280c28a339/out/UnionTypes.rs:75:5: 75:21 note: this variant is the largest\r\n/target/debug/build/script-840aa1280c28a339/out/UnionTypes.rs:75     Blob(Root<Blob>),\r\n                                                                     ^~~~~~~~~~~~~~~~\r\n/components/script/dom/bindings/mod.rs:176:9: 176:62 note: in this expansion of include!\r\n/target/debug/build/script-840aa1280c28a339/out/UnionTypes.rs:322:1: 325:2 warning: enum variant is more than three times larger (24 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/target/debug/build/script-840aa1280c28a339/out/UnionTypes.rs:322 pub enum BlobOrUnsignedLong {\r\n                                                                  ^\r\n/components/script/dom/bindings/mod.rs:176:9: 176:62 note: in this expansion of include!\r\n/target/debug/build/script-840aa1280c28a339/out/UnionTypes.rs:323:5: 323:21 note: this variant is the largest\r\n/target/debug/build/script-840aa1280c28a339/out/UnionTypes.rs:323     Blob(Root<Blob>),\r\n                                                                      ^~~~~~~~~~~~~~~~\r\n/components/script/dom/bindings/mod.rs:176:9: 176:62 note: in this expansion of include!\r\n/target/debug/build/script-840aa1280c28a339/out/UnionTypes.rs:554:1: 557:2 warning: enum variant is more than three times larger (24 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/target/debug/build/script-840aa1280c28a339/out/UnionTypes.rs:554 pub enum HTMLElementOrLong {\r\n                                                                  ^\r\n/components/script/dom/bindings/mod.rs:176:9: 176:62 note: in this expansion of include!\r\n/target/debug/build/script-840aa1280c28a339/out/UnionTypes.rs:555:5: 555:35 note: this variant is the largest\r\n/target/debug/build/script-840aa1280c28a339/out/UnionTypes.rs:555     HTMLElement(Root<HTMLElement>),\r\n                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/components/script/dom/bindings/mod.rs:176:9: 176:62 note: in this expansion of include!\r\n/target/debug/build/script-840aa1280c28a339/out/UnionTypes.rs:928:1: 931:2 warning: enum variant is more than three times larger (24 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/target/debug/build/script-840aa1280c28a339/out/UnionTypes.rs:928 pub enum LongSequenceOrBoolean {\r\n                                                                  ^\r\n/components/script/dom/bindings/mod.rs:176:9: 176:62 note: in this expansion of include!\r\n/target/debug/build/script-840aa1280c28a339/out/UnionTypes.rs:929:5: 929:27 note: this variant is the largest\r\n/target/debug/build/script-840aa1280c28a339/out/UnionTypes.rs:929     LongSequence(Vec<i32>),\r\n                                                                      ^~~~~~~~~~~~~~~~~~~~~~\r\n/components/script/dom/bindings/mod.rs:176:9: 176:62 note: in this expansion of include!\r\n/target/debug/build/script-840aa1280c28a339/out/UnionTypes.rs:1100:1: 1103:2 warning: enum variant is more than three times larger (24 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/target/debug/build/script-840aa1280c28a339/out/UnionTypes.rs:1100 pub enum StringOrBoolean {\r\n                                                                   ^\r\n/components/script/dom/bindings/mod.rs:176:9: 176:62 note: in this expansion of include!\r\n/target/debug/build/script-840aa1280c28a339/out/UnionTypes.rs:1101:5: 1101:22 note: this variant is the largest\r\n/target/debug/build/script-840aa1280c28a339/out/UnionTypes.rs:1101     String(DOMString),\r\n                                                                       ^~~~~~~~~~~~~~~~~\r\n/components/script/dom/bindings/mod.rs:176:9: 176:62 note: in this expansion of include!\r\n/target/debug/build/script-840aa1280c28a339/out/UnionTypes.rs:1342:1: 1345:2 warning: enum variant is more than three times larger (24 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/target/debug/build/script-840aa1280c28a339/out/UnionTypes.rs:1342 pub enum StringOrUnsignedLong {\r\n                                                                   ^\r\n/components/script/dom/bindings/mod.rs:176:9: 176:62 note: in this expansion of include!\r\n/target/debug/build/script-840aa1280c28a339/out/UnionTypes.rs:1343:5: 1343:22 note: this variant is the largest\r\n/target/debug/build/script-840aa1280c28a339/out/UnionTypes.rs:1343     String(DOMString),\r\n                                                                       ^~~~~~~~~~~~~~~~~\r\n/components/script/dom/bindings/mod.rs:176:9: 176:62 note: in this expansion of include!\r\n/target/debug/build/script-840aa1280c28a339/out/UnionTypes.rs:1398:1: 1401:2 warning: enum variant is more than three times larger (24 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/target/debug/build/script-840aa1280c28a339/out/UnionTypes.rs:1398 pub enum StringSequenceOrUnsignedLong {\r\n                                                                   ^\r\n/components/script/dom/bindings/mod.rs:176:9: 176:62 note: in this expansion of include!\r\n/target/debug/build/script-840aa1280c28a339/out/UnionTypes.rs:1399:5: 1399:35 note: this variant is the largest\r\n/target/debug/build/script-840aa1280c28a339/out/UnionTypes.rs:1399     StringSequence(Vec<DOMString>),\r\n                                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/components/script/dom/bindings/mod.rs:176:9: 176:62 note: in this expansion of include!\r\n/target/debug/build/script-840aa1280c28a339/out/UnionTypes.rs:1512:1: 1515:2 warning: enum variant is more than three times larger (4 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/target/debug/build/script-840aa1280c28a339/out/UnionTypes.rs:1512 pub enum UnsignedLongOrBoolean {\r\n                                                                   ^\r\n/components/script/dom/bindings/mod.rs:176:9: 176:62 note: in this expansion of include!\r\n/target/debug/build/script-840aa1280c28a339/out/UnionTypes.rs:1513:5: 1513:22 note: this variant is the largest\r\n/target/debug/build/script-840aa1280c28a339/out/UnionTypes.rs:1513     UnsignedLong(u32),\r\n                                                                       ^~~~~~~~~~~~~~~~~\r\n/components/script/dom/bindings/mod.rs:176:9: 176:62 note: in this expansion of include!\r\n/components/script/dom/eventtarget.rs:80:1: 84:2 warning: enum variant is more than three times larger (120 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/components/script/dom/eventtarget.rs:80 pub enum InlineEventListener {\r\n                                         ^\r\n/components/script/dom/eventtarget.rs:81:5: 81:45 note: this variant is the largest\r\n/components/script/dom/eventtarget.rs:81     Uncompiled(InternalRawUncompiledHandler),\r\n                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/components/script/dom/eventtarget.rs:110:1: 113:2 warning: enum variant is more than three times larger (128 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/components/script/dom/eventtarget.rs:110 enum EventListenerType {\r\n                                          ^\r\n/components/script/dom/eventtarget.rs:112:5: 112:32 note: this variant is the largest\r\n/components/script/dom/eventtarget.rs:112     Inline(InlineEventListener),\r\n                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/components/script/script_thread.rs:224:1: 239:2 warning: enum variant is more than three times larger (288 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/components/script/script_thread.rs:224 pub enum MainThreadScriptMsg {\r\n                                        ^\r\n/components/script/script_thread.rs:234:5: 234:35 note: this variant is the largest\r\n/components/script/script_thread.rs:234     Navigate(PipelineId, LoadData),\r\n                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/components/layout_thread/lib.rs:515:9: 520:10 warning: enum variant is more than three times larger (248 bytes) than the next largest (ignoring padding) [-W variant-size-differences]\r\n/components/layout_thread/lib.rs:515         enum Request {\r\n                                             ^\r\n/components/layout_thread/lib.rs:517:13: 517:28 note: this variant is the largest\r\n/components/layout_thread/lib.rs:517             FromScript(Msg),\r\n                                                 ^~~~~~~~~~~~~~~\r\n```"},"comment":{"url":"https://api.github.com/repos/servo/servo/issues/comments/233335617","html_url":"https://github.com/servo/servo/issues/12460#issuecomment-233335617","issue_url":"https://api.github.com/repos/servo/servo/issues/12460","id":233335617,"user":{"login":"Ms2ger","id":111161,"avatar_url":"https://avatars.githubusercontent.com/u/111161?v=3","gravatar_id":"","url":"https://api.github.com/users/Ms2ger","html_url":"https://github.com/Ms2ger","followers_url":"https://api.github.com/users/Ms2ger/followers","following_url":"https://api.github.com/users/Ms2ger/following{/other_user}","gists_url":"https://api.github.com/users/Ms2ger/gists{/gist_id}","starred_url":"https://api.github.com/users/Ms2ger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ms2ger/subscriptions","organizations_url":"https://api.github.com/users/Ms2ger/orgs","repos_url":"https://api.github.com/users/Ms2ger/repos","events_url":"https://api.github.com/users/Ms2ger/events{/privacy}","received_events_url":"https://api.github.com/users/Ms2ger/received_events","type":"User","site_admin":false},"created_at":"2016-07-18T13:56:49Z","updated_at":"2016-07-18T13:56:49Z","body":"It's an old(-ish?) warning, but it's off by default."}}
{"actor":{"display_login":"Ms2ger"}}