about summary refs log tree commit diff
path: root/tests/ui/lint/bare-trait-objects-path.rs
diff options
context:
space:
mode:
authorLukas Wirth <lukas.wirth@ferrous-systems.com>2025-06-03 09:54:30 +0200
committerLukas Wirth <lukas.wirth@ferrous-systems.com>2025-06-03 11:45:58 +0200
commit49969468b59287f905a001097de66ff9659b7b79 (patch)
tree9b55c2b8709812cc81da7135abaadae2929c6b69 /tests/ui/lint/bare-trait-objects-path.rs
parentb17dba45186c454576d0fc8fb93ecc65eb1a763a (diff)
downloadrust-49969468b59287f905a001097de66ff9659b7b79.tar.gz
rust-49969468b59287f905a001097de66ff9659b7b79.zip
Add missing 2015 edition directives
These tests specifically test 2015 edition behavior, so ensure that they can only be run with this edition
Diffstat (limited to 'tests/ui/lint/bare-trait-objects-path.rs')
-rw-r--r--tests/ui/lint/bare-trait-objects-path.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/lint/bare-trait-objects-path.rs b/tests/ui/lint/bare-trait-objects-path.rs
index 0e2294715cd..9643c48c9b8 100644
--- a/tests/ui/lint/bare-trait-objects-path.rs
+++ b/tests/ui/lint/bare-trait-objects-path.rs
@@ -1,3 +1,4 @@
+//@ edition: 2015
 #![feature(associated_type_defaults)]
 
 trait Assoc {