Fix warnings in glutin.

This commit is contained in:
Ms2ger 2015-02-13 10:37:00 +01:00
parent dda12e196b
commit 19a8f24e8b
2 changed files with 6 additions and 3 deletions

View file

@ -4,8 +4,11 @@
//! A simple application that uses glutin to open a window for Servo to display in. //! A simple application that uses glutin to open a window for Servo to display in.
#![feature(box_syntax, int_uint)] #![feature(int_uint)]
#![allow(unstable)] #![feature(core)]
#![feature(hash)]
#![feature(box_syntax)]
#![feature(libc)]
#[macro_use] extern crate bitflags; #[macro_use] extern crate bitflags;
#[cfg(target_os="macos")] #[cfg(target_os="macos")]

View file

@ -47,7 +47,7 @@ static mut g_nested_event_loop_listener: Option<*mut (NestedEventLoopListener +
#[cfg(feature = "window")] #[cfg(feature = "window")]
bitflags! { bitflags! {
#[derive(Show)] #[derive(Debug)]
flags KeyModifiers: u8 { flags KeyModifiers: u8 {
const LEFT_CONTROL = 1, const LEFT_CONTROL = 1,
const RIGHT_CONTROL = 2, const RIGHT_CONTROL = 2,