aboutsummaryrefslogtreecommitdiffstats
path: root/lang/rust-nightly
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2019-01-01 08:48:30 +0800
committerjbeich <jbeich@FreeBSD.org>2019-01-01 08:48:30 +0800
commit0271b2ba2c2b38c299b294775a3147380de8dadd (patch)
treeb2ee56ea0f8b7d297cebdf8c50e599fe2a15165d /lang/rust-nightly
parent4dc3546490f34f36dd6c1241b90c7a592d5f6ed9 (diff)
downloadfreebsd-ports-gnome-0271b2ba2c2b38c299b294775a3147380de8dadd.tar.gz
freebsd-ports-gnome-0271b2ba2c2b38c299b294775a3147380de8dadd.tar.zst
freebsd-ports-gnome-0271b2ba2c2b38c299b294775a3147380de8dadd.zip
lang/rust-nightly: update to 1.33.0.20190101
Changes: https://github.com/rust-lang/rust/compare/60e825389db3...9eac386342c6
Diffstat (limited to 'lang/rust-nightly')
-rw-r--r--lang/rust-nightly/Makefile2
-rw-r--r--lang/rust-nightly/distinfo6
-rw-r--r--lang/rust-nightly/files/patch-clippy82
3 files changed, 4 insertions, 86 deletions
diff --git a/lang/rust-nightly/Makefile b/lang/rust-nightly/Makefile
index 791ec41e53d8..e7449141454a 100644
--- a/lang/rust-nightly/Makefile
+++ b/lang/rust-nightly/Makefile
@@ -14,7 +14,7 @@ CONFLICTS_INSTALL= rust
# Which source to pull:
# https://static.rust-lang.org/dist/${NIGHTLY_DATE}/rustc-nightly-src.tar.gz
# https://static.rust-lang.org/dist/channel-rust-nightly.toml
-NIGHTLY_DATE= 2018-12-29
+NIGHTLY_DATE= 2019-01-01
NIGHTLY_SUBDIR= ${NIGHTLY_DATE}/
# See WRKSRC/src/stage0.txt for this date
diff --git a/lang/rust-nightly/distinfo b/lang/rust-nightly/distinfo
index 17ea10dd75b2..bc787a59ef63 100644
--- a/lang/rust-nightly/distinfo
+++ b/lang/rust-nightly/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1546033453
-SHA256 (rust/2018-12-29/rustc-nightly-src.tar.xz) = fc517ed870191e7b1a4461e5e1c4d23adf4365b6d6464572e5a7dc8928d26df9
-SIZE (rust/2018-12-29/rustc-nightly-src.tar.xz) = 100358672
+TIMESTAMP = 1546295983
+SHA256 (rust/2019-01-01/rustc-nightly-src.tar.xz) = 89a8829d474889e16bd8f716fe10847aba00f608c3d7e7a1e0058aa19108e3cf
+SIZE (rust/2019-01-01/rustc-nightly-src.tar.xz) = 100412360
SHA256 (rust/2018-12-09/rustc-beta-x86_64-unknown-freebsd.tar.gz) = 1c59a13cc385c9e06b80202651f8af9e9e22658e1863de85ce67ca12a0940a46
SIZE (rust/2018-12-09/rustc-beta-x86_64-unknown-freebsd.tar.gz) = 70377440
SHA256 (rust/2018-12-09/rust-std-beta-x86_64-unknown-freebsd.tar.gz) = 12fa39ff525ddd64490e63be98b954c9ee66e0cf603143f49b04f1c5760f3885
diff --git a/lang/rust-nightly/files/patch-clippy b/lang/rust-nightly/files/patch-clippy
deleted file mode 100644
index cfc7ad7e4aa2..000000000000
--- a/lang/rust-nightly/files/patch-clippy
+++ /dev/null
@@ -1,82 +0,0 @@
-https://github.com/rust-lang/rust-clippy/commit/99454bc9a1d5
-https://github.com/rust-lang/rust-clippy/commit/909bfd3cd843
-
---- src/tools/clippy/clippy_lints/src/loops.rs.orig 2018-12-28 20:04:28 UTC
-+++ src/tools/clippy/clippy_lints/src/loops.rs
-@@ -751,7 +751,8 @@ fn never_loop_expr(expr: &Expr, main_loop_id: NodeId)
- | ExprKind::Closure(_, _, _, _, _)
- | ExprKind::InlineAsm(_, _, _)
- | ExprKind::Path(_)
-- | ExprKind::Lit(_) => NeverLoopResult::Otherwise,
-+ | ExprKind::Lit(_)
-+ | ExprKind::Err => NeverLoopResult::Otherwise,
- }
- }
-
---- src/tools/clippy/clippy_lints/src/utils/author.rs.orig 2018-12-28 20:04:28 UTC
-+++ src/tools/clippy/clippy_lints/src/utils/author.rs
-@@ -504,6 +504,9 @@ impl<'tcx> Visitor<'tcx> for PrintVisitor {
- self.current = value_pat;
- self.visit_expr(value);
- },
-+ ExprKind::Err => {
-+ println!("Err = {}", current);
-+ },
- }
- }
-
---- src/tools/clippy/clippy_lints/src/utils/hir_utils.rs.orig 2018-12-28 20:04:28 UTC
-+++ src/tools/clippy/clippy_lints/src/utils/hir_utils.rs
-@@ -615,6 +615,7 @@ impl<'a, 'tcx: 'a> SpanlessHash<'a, 'tcx> {
- self.hash_name(l.ident.name);
- }
- },
-+ ExprKind::Err => {},
- }
- }
-
---- src/tools/clippy/clippy_lints/src/utils/inspector.rs.orig 2018-12-28 20:04:28 UTC
-+++ src/tools/clippy/clippy_lints/src/utils/inspector.rs
-@@ -347,6 +347,9 @@ fn print_expr(cx: &LateContext<'_, '_>, expr: &hir::Ex
- println!("{}repeat count:", ind);
- print_expr(cx, &cx.tcx.hir().body(anon_const.body).value, indent + 1);
- },
-+ hir::ExprKind::Err => {
-+ println!("{}Err", ind);
-+ },
- }
- }
-
---- src/tools/clippy/clippy_lints/src/utils/sugg.rs.orig 2018-12-28 20:04:28 UTC
-+++ src/tools/clippy/clippy_lints/src/utils/sugg.rs
-@@ -79,7 +79,8 @@ impl<'a> Sugg<'a> {
- | hir::ExprKind::Ret(..)
- | hir::ExprKind::Struct(..)
- | hir::ExprKind::Tup(..)
-- | hir::ExprKind::While(..) => Sugg::NonParen(snippet),
-+ | hir::ExprKind::While(..)
-+ | hir::ExprKind::Err => Sugg::NonParen(snippet),
- hir::ExprKind::Assign(..) => Sugg::BinOp(AssocOp::Assign, snippet),
- hir::ExprKind::AssignOp(op, ..) => Sugg::BinOp(hirbinop2assignop(op), snippet),
- hir::ExprKind::Binary(op, ..) => Sugg::BinOp(AssocOp::from_ast_binop(higher::binop(op.node)), snippet),
-@@ -158,7 +159,8 @@ impl<'a> Sugg<'a> {
- | ast::ExprKind::Tup(..)
- | ast::ExprKind::Array(..)
- | ast::ExprKind::While(..)
-- | ast::ExprKind::WhileLet(..) => Sugg::NonParen(snippet),
-+ | ast::ExprKind::WhileLet(..)
-+ | ast::ExprKind::Err => Sugg::NonParen(snippet),
- ast::ExprKind::Range(.., RangeLimits::HalfOpen) => Sugg::BinOp(AssocOp::DotDot, snippet),
- ast::ExprKind::Range(.., RangeLimits::Closed) => Sugg::BinOp(AssocOp::DotDotEq, snippet),
- ast::ExprKind::Assign(..) => Sugg::BinOp(AssocOp::Assign, snippet),
---- src/tools/clippy/clippy_lints/src/write.rs.orig 2018-12-28 20:04:28 UTC
-+++ src/tools/clippy/clippy_lints/src/write.rs
-@@ -292,7 +292,7 @@ fn check_tts<'a>(cx: &EarlyContext<'a>, tts: &ThinToke
- };
- let tmp = fmtstr.clone();
- let mut args = vec![];
-- let mut fmt_parser = Parser::new(&tmp, None);
-+ let mut fmt_parser = Parser::new(&tmp, None, Vec::new(), false);
- while let Some(piece) = fmt_parser.next() {
- if !fmt_parser.errors.is_empty() {
- return (None, expr);