Skip to content

Commit 69bf079

Browse files
committed
Rename proc_macro::Literal tests from parse.rs to literal.rs
This module contains tests not just of parse (FromStr) but also to_string (Display) for literals.
1 parent 4435924 commit 69bf079

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/ui/proc-macro/auxiliary/api/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
extern crate proc_macro;
1111

1212
mod cmp;
13-
mod parse;
13+
mod literal;
1414

1515
use proc_macro::TokenStream;
1616

@@ -19,7 +19,7 @@ pub fn run(input: TokenStream) -> TokenStream {
1919
assert!(input.is_empty());
2020

2121
cmp::test();
22-
parse::test();
22+
literal::test();
2323

2424
TokenStream::new()
2525
}

0 commit comments

Comments
 (0)