libsyntax: Get rid of obsolete obsolete warning.

This commit is contained in:
Luqman Aden 2013-10-23 03:56:52 -04:00
parent 26488b7465
commit 523a28decc

View File

@ -34,7 +34,6 @@ pub enum ObsoleteSyntax {
ObsoleteBareFnType,
ObsoleteNamedExternModule,
ObsoleteMultipleLocalDecl,
ObsoleteMutWithMultipleBindings,
ObsoleteUnsafeExternFn,
ObsoleteTraitFuncVisibility,
ObsoleteConstPointer,
@ -91,11 +90,6 @@ fn obsolete(&self, sp: Span, kind: ObsoleteSyntax) {
"instead of e.g. `let a = 1, b = 2`, write \
`let (a, b) = (1, 2)`."
),
ObsoleteMutWithMultipleBindings => (
"`mut` with multiple bindings",
"use multiple local declarations instead of e.g. `let mut \
(x, y) = ...`."
),
ObsoleteUnsafeExternFn => (
"unsafe external function",
"external functions are always unsafe; remove the `unsafe` \