diff options
| author | Aleksey Kladov <aleksey.kladov@gmail.com> | 2020-09-03 17:21:53 +0200 |
|---|---|---|
| committer | Aleksey Kladov <aleksey.kladov@gmail.com> | 2020-09-03 17:32:45 +0200 |
| commit | ccf41dd5eb42730b1de6a4bc9d95c03dca0a8143 (patch) | |
| tree | 1d89c4407c999b46ffa25c85ee2d6acb60f733c8 /compiler/rustc_parse/src/lib.rs | |
| parent | 4231fbc0a8cb4b2b0df431d8ffcf308f837e07e3 (diff) | |
| download | rust-ccf41dd5eb42730b1de6a4bc9d95c03dca0a8143.tar.gz rust-ccf41dd5eb42730b1de6a4bc9d95c03dca0a8143.zip | |
Rename IsJoint -> Spacing
To match better naming from proc-macro
Diffstat (limited to 'compiler/rustc_parse/src/lib.rs')
| -rw-r--r-- | compiler/rustc_parse/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_parse/src/lib.rs b/compiler/rustc_parse/src/lib.rs index b804e8a825f..e7fd74f551a 100644 --- a/compiler/rustc_parse/src/lib.rs +++ b/compiler/rustc_parse/src/lib.rs @@ -8,7 +8,7 @@ use rustc_ast as ast; use rustc_ast::token::{self, DelimToken, Nonterminal, Token, TokenKind}; -use rustc_ast::tokenstream::{self, IsJoint, TokenStream, TokenTree}; +use rustc_ast::tokenstream::{self, Spacing, TokenStream, TokenTree}; use rustc_ast_pretty::pprust; use rustc_data_structures::sync::Lrc; use rustc_errors::{Diagnostic, FatalError, Level, PResult}; @@ -437,7 +437,7 @@ pub fn tokenstream_probably_equal_for_proc_macro( // issue #75734 tracks resolving this. nt_to_tokenstream(nt, sess, *span).into_trees() } else { - TokenStream::new(vec![(tree, IsJoint::NonJoint)]).into_trees() + TokenStream::new(vec![(tree, Spacing::Alone)]).into_trees() } }; |
