Sha256: 466f9b79f06f1cfa259c4f9c05a892df99d3fd0de1e62b97a6ab372f4509f6a9

Contents?: true

Size: 944 Bytes

Versions: 37

Compression:

Stored size: 944 Bytes

Contents

mod let_shadowing;

struct Context;

impl let_shadowing::Context for Context {}

fn main() {
    let mut ctx = Context;

    assert_eq!(20, let_shadowing::constructor_test1(&mut ctx, 20));
    assert_eq!(97, let_shadowing::constructor_test1(&mut ctx, 97));

    assert_eq!(20, let_shadowing::constructor_test2(&mut ctx, 20));
    assert_eq!(97, let_shadowing::constructor_test2(&mut ctx, 97));

    assert_eq!(20, let_shadowing::constructor_test3(&mut ctx, 20));
    assert_eq!(97, let_shadowing::constructor_test3(&mut ctx, 97));

    assert_eq!(23, let_shadowing::constructor_test4(&mut ctx, 20));
    assert_eq!(23, let_shadowing::constructor_test4(&mut ctx, 97));

    assert_eq!(20, let_shadowing::constructor_test5(&mut ctx, 20));
    assert_eq!(97, let_shadowing::constructor_test5(&mut ctx, 97));

    assert_eq!(20, let_shadowing::constructor_test6(&mut ctx, 20));
    assert_eq!(97, let_shadowing::constructor_test6(&mut ctx, 97));
}

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
wasmtime-30.0.2 ./ext/cargo-vendor/cranelift-isle-0.117.2/isle_examples/run/let_shadowing_main.rs
wasmtime-29.0.0 ./ext/cargo-vendor/cranelift-isle-0.116.0/isle_examples/run/let_shadowing_main.rs
wasmtime-28.0.0 ./ext/cargo-vendor/cranelift-isle-0.115.0/isle_examples/run/let_shadowing_main.rs
wasmtime-27.0.0 ./ext/cargo-vendor/cranelift-isle-0.114.0/isle_examples/run/let_shadowing_main.rs
wasmtime-26.0.0 ./ext/cargo-vendor/cranelift-isle-0.113.0/isle_examples/run/let_shadowing_main.rs
wasmtime-25.0.2 ./ext/cargo-vendor/cranelift-isle-0.112.2/isle_examples/run/let_shadowing_main.rs
wasmtime-25.0.1 ./ext/cargo-vendor/cranelift-isle-0.112.1/isle_examples/run/let_shadowing_main.rs
wasmtime-25.0.0 ./ext/cargo-vendor/cranelift-isle-0.112.0/isle_examples/run/let_shadowing_main.rs
wasmtime-24.0.0 ./ext/cargo-vendor/cranelift-isle-0.111.0/isle_examples/run/let_shadowing_main.rs
wasmtime-23.0.2 ./ext/cargo-vendor/cranelift-isle-0.110.2/isle_examples/run/let_shadowing_main.rs
wasmtime-22.0.0 ./ext/cargo-vendor/cranelift-isle-0.109.0/isle_examples/run/let_shadowing_main.rs
wasmtime-21.0.1 ./ext/cargo-vendor/cranelift-isle-0.108.1/isle_examples/run/let_shadowing_main.rs
wasmtime-20.0.2 ./ext/cargo-vendor/cranelift-isle-0.107.2/isle_examples/run/let_shadowing_main.rs
wasmtime-20.0.0 ./ext/cargo-vendor/cranelift-isle-0.107.2/isle_examples/run/let_shadowing_main.rs
wasmtime-18.0.3 ./ext/cargo-vendor/cranelift-isle-0.105.3/isle_examples/run/let_shadowing_main.rs
wasmtime-17.0.1 ./ext/cargo-vendor/cranelift-isle-0.104.1/isle_examples/run/let_shadowing_main.rs
wasmtime-17.0.0 ./ext/cargo-vendor/cranelift-isle-0.104.0/isle_examples/run/let_shadowing_main.rs
wasmtime-16.0.0 ./ext/cargo-vendor/cranelift-isle-0.103.0/isle_examples/run/let_shadowing_main.rs
wasmtime-15.0.1 ./ext/cargo-vendor/cranelift-isle-0.102.1/isle_examples/run/let_shadowing_main.rs
wasmtime-15.0.0 ./ext/cargo-vendor/cranelift-isle-0.102.1/isle_examples/run/let_shadowing_main.rs