-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
445: Ensure the `with_prefix!` macro uses properly namespaced items r=jonasbb a=jonasbb bors merge Co-authored-by: Jonas Bushart <[email protected]>
- Loading branch information
Showing
2 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
//! Test that the with_prefix macros properly name all the types and traits used | ||
|
||
// Ensure no prelude is available | ||
#![no_implicit_prelude] | ||
#![allow(dead_code, unused_imports)] | ||
|
||
use ::s_with::with_prefix; | ||
|
||
with_prefix!(prefix_foobar "foobar_"); |