diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/chalkify/basic.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/ui/chalkify/basic.rs b/src/test/ui/chalkify/basic.rs new file mode 100644 index 000000000..dbd60fc8b --- /dev/null +++ b/src/test/ui/chalkify/basic.rs @@ -0,0 +1,12 @@ +// check-pass +// compile-flags: -Z chalk + +trait Foo {} + +struct Bar {} + +impl Foo for Bar {} + +fn main() -> () { + let _ = Bar {}; +} |