Skip to content

Commit

Permalink
Auto merge of #51724 - tikue:master, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
Re-pub some items whose visibilities were recently reduced.

Reasons described in the most recent comments of #51265.

tarpc can't move off of plugins until proc macros can be reexported from other crates.

Fixes google/tarpc#191
  • Loading branch information
bors committed Jun 23, 2018
2 parents 6dc81de + 0c33e0a commit 2db44b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/libsyntax/parse/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ fn char_lit(lit: &str, diag: Option<(Span, &Handler)>) -> (char, isize) {

/// Parse a string representing a string literal into its final form. Does
/// unescaping.
fn str_lit(lit: &str, diag: Option<(Span, &Handler)>) -> String {
pub fn str_lit(lit: &str, diag: Option<(Span, &Handler)>) -> String {
debug!("str_lit: given {}", lit.escape_default());
let mut res = String::with_capacity(lit.len());

Expand Down
2 changes: 1 addition & 1 deletion src/libsyntax/parse/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5402,7 +5402,7 @@ impl<'a> Parser<'a> {
}

/// Parse an impl item.
crate fn parse_impl_item(&mut self, at_end: &mut bool) -> PResult<'a, ImplItem> {
pub fn parse_impl_item(&mut self, at_end: &mut bool) -> PResult<'a, ImplItem> {
maybe_whole!(self, NtImplItem, |x| x);
let attrs = self.parse_outer_attributes()?;
let (mut item, tokens) = self.collect_tokens(|this| {
Expand Down

0 comments on commit 2db44b6

Please sign in to comment.