Commit 7cf11998 authored by qinsoon's avatar qinsoon

remove compiler warnings from rust 1.19

parent fdff149f
...@@ -311,7 +311,7 @@ pub fn start_trace( ...@@ -311,7 +311,7 @@ pub fn start_trace(
lo_space: Arc<FreeListSpace> lo_space: Arc<FreeListSpace>
) { ) {
// creates root deque // creates root deque
let (mut worker, stealer) = deque(); let (worker, stealer) = deque();
while !work_stack.is_empty() { while !work_stack.is_empty() {
worker.push(work_stack.pop().unwrap()); worker.push(work_stack.pop().unwrap());
......
...@@ -12,6 +12,8 @@ ...@@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#![allow(unused_macros)]
macro_rules! typedef { macro_rules! typedef {
// int, floating point // int, floating point
(($vm: expr) $name: ident = mu_int($len: expr)) => { (($vm: expr) $name: ident = mu_int($len: expr)) => {
......
...@@ -24,12 +24,6 @@ macro_rules! assert_type ( ...@@ -24,12 +24,6 @@ macro_rules! assert_type (
) )
); );
macro_rules! println_type (
($test:expr) => (
println!("{}", $test)
)
);
/// create one of each MuType /// create one of each MuType
fn create_types() -> Vec<P<MuType>> { fn create_types() -> Vec<P<MuType>> {
let mut types = vec![]; let mut types = vec![];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment