Use path instead of ident (#7809)

This commit is contained in:
Shawn Tabrizi authored and GitHub committed 2020-12-30 11:31:29 +01:00
1 parent 256871f553
commit 767602d35a
1 file changed
+1 -1
+1 -1
View File
@@ -1072,7 +1072,7 @@ macro_rules! impl_benchmark_test {
#[macro_export]
macro_rules! add_benchmark {
( $params:ident, $batches:ident, $name:ident, $( $location:tt )* ) => (
( $params:ident, $batches:ident, $name:path, $( $location:tt )* ) => (
let name_string = stringify!($name).as_bytes();
let instance_string = stringify!( $( $location )* ).as_bytes();
let (config, whitelist) = $params;