summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/config_proc_macro/tests/smoke.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rustfmt/config_proc_macro/tests/smoke.rs')
-rw-r--r--src/tools/rustfmt/config_proc_macro/tests/smoke.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/rustfmt/config_proc_macro/tests/smoke.rs b/src/tools/rustfmt/config_proc_macro/tests/smoke.rs
index 940a8a0c2..c8a83e39c 100644
--- a/src/tools/rustfmt/config_proc_macro/tests/smoke.rs
+++ b/src/tools/rustfmt/config_proc_macro/tests/smoke.rs
@@ -1,6 +1,7 @@
pub mod config {
pub trait ConfigType: Sized {
fn doc_hint() -> String;
+ fn stable_variant(&self) -> bool;
}
}