Skip to content

Commit 1ffc750

Browse files
committed
---
yaml --- r: 277949 b: refs/heads/auto c: 2ba5fac h: refs/heads/master i: 277947: 0c9f1d7
1 parent e81e958 commit 1ffc750

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
88
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
99
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1010
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
11-
refs/heads/auto: 5974e5b294ee3b67054a31eae2a4b9bab950a119
11+
refs/heads/auto: 2ba5fac1a460de9936b85f9459668b0992f21f06
1212
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1313
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336
1414
refs/tags/0.2: 1754d02027f2924bed83b0160ee340c7f41d5ea1

branches/auto/src/librustc_driver/lib.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,8 @@ use std::thread;
9191

9292
use rustc::session::early_error;
9393

94-
use syntax::{ast, errors, diagnostic};
95-
use syntax::codemap::MultiSpan;
96-
use syntax::parse::{self, PResult};
94+
use syntax::{ast, errors, diagnostics};
95+
use syntax::codemap::{CodeMap, FileLoader, RealFileLoader, MultiSpan};
9796
use syntax::errors::emitter::Emitter;
9897
use syntax::feature_gate::{GatedCfg, UnstableFeatures};
9998
use syntax::parse::{self, PResult, token};

branches/auto/src/librustc_resolve/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1784,8 +1784,7 @@ impl<'a, 'tcx> Resolver<'a, 'tcx> {
17841784

17851785
// If it's a typedef, give a note
17861786
if let Def::TyAlias(..) = path_res.base_def {
1787-
err.note(trait_path.span,
1788-
"`type` aliases cannot be used for traits");
1787+
err.note("`type` aliases cannot be used for traits");
17891788

17901789
let definition_site = {
17911790
let segments = &trait_path.segments;

branches/auto/src/libsyntax_ext/deriving/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,9 @@ macro_rules! derive_traits {
204204
sp, feature_gate::EXPLAIN_DERIVE_UNDERSCORE,
205205
);
206206
if option_env!("CFG_DISABLE_UNSTABLE_FEATURES").is_none() {
207-
w.fileline_help(
208-
sp, &format!("add #![feature(custom_derive)] to \
209-
the crate attributes to enable")
207+
w.help(
208+
&format!("add #![feature(custom_derive)] to \
209+
the crate attributes to enable")
210210
);
211211
}
212212
w.emit();

0 commit comments

Comments
 (0)