diff options
Diffstat (limited to 'tests/ui/dyn-star/feature-gate-dyn_star.rs')
-rw-r--r-- | tests/ui/dyn-star/feature-gate-dyn_star.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/dyn-star/feature-gate-dyn_star.rs b/tests/ui/dyn-star/feature-gate-dyn_star.rs new file mode 100644 index 000000000..4756661cf --- /dev/null +++ b/tests/ui/dyn-star/feature-gate-dyn_star.rs @@ -0,0 +1,9 @@ +// Feature gate test for dyn_star + +/// dyn* is not necessarily the final surface syntax (if we have one at all), +/// but for now we will support it to aid in writing tests independently. +pub fn dyn_star_parameter(_: &dyn* Send) { + //~^ dyn* trait objects are unstable +} + +fn main() {} |