]> git.lizzy.rs Git - rust.git/blob - tests/ui/editions/epoch-gate-feature.rs
Don't resolve type var roots in point_at_expr_source_of_inferred_type
[rust.git] / tests / ui / editions / epoch-gate-feature.rs
1 // run-pass
2
3 #![allow(dead_code)]
4 #![allow(unused_variables)]
5 // Checks if the correct registers are being used to pass arguments
6 // when the sysv64 ABI is specified.
7
8 #![feature(rust_2018_preview)]
9
10 pub trait Foo {}
11
12 // should compile without the dyn trait feature flag
13 fn foo(x: &dyn Foo) {}
14
15 pub fn main() {}