Skip to content

Commit a07f213

Browse files
committed
Rollup merge of rust-lang#52338 - RalfJung:miri, r=oli-obk
update miri
2 parents 6af3e2d + 9e10b12 commit a07f213

File tree

1,318 files changed

+11902
-2503
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,318 files changed

+11902
-2503
lines changed

src/Cargo.lock

+25-2
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,18 @@ dependencies = [
243243
"serde_json 1.0.22 (registry+https://github.com/rust-lang/crates.io-index)",
244244
]
245245

246+
[[package]]
247+
name = "cargo_metadata"
248+
version = "0.6.0"
249+
source = "registry+https://github.com/rust-lang/crates.io-index"
250+
dependencies = [
251+
"error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
252+
"semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
253+
"serde 1.0.69 (registry+https://github.com/rust-lang/crates.io-index)",
254+
"serde_derive 1.0.69 (registry+https://github.com/rust-lang/crates.io-index)",
255+
"serde_json 1.0.22 (registry+https://github.com/rust-lang/crates.io-index)",
256+
]
257+
246258
[[package]]
247259
name = "cargotest2"
248260
version = "0.1.0"
@@ -629,6 +641,14 @@ dependencies = [
629641
"backtrace 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
630642
]
631643

644+
[[package]]
645+
name = "error-chain"
646+
version = "0.12.0"
647+
source = "registry+https://github.com/rust-lang/crates.io-index"
648+
dependencies = [
649+
"backtrace 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
650+
]
651+
632652
[[package]]
633653
name = "error_index_generator"
634654
version = "0.0.0"
@@ -1216,12 +1236,13 @@ name = "miri"
12161236
version = "0.1.0"
12171237
dependencies = [
12181238
"byteorder 1.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
1219-
"cargo_metadata 0.5.8 (registry+https://github.com/rust-lang/crates.io-index)",
1239+
"cargo_metadata 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
1240+
"colored 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
12201241
"compiletest_rs 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)",
12211242
"env_logger 0.5.10 (registry+https://github.com/rust-lang/crates.io-index)",
12221243
"lazy_static 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
12231244
"log 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)",
1224-
"regex 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
1245+
"regex 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
12251246
]
12261247

12271248
[[package]]
@@ -3031,6 +3052,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
30313052
"checksum bufstream 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "f2f382711e76b9de6c744cc00d0497baba02fb00a787f088c879f01d09468e32"
30323053
"checksum byteorder 1.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "74c0b906e9446b0a2e4f760cdb3fa4b2c48cdc6db8766a845c54b6ff063fd2e9"
30333054
"checksum cargo_metadata 0.5.8 (registry+https://github.com/rust-lang/crates.io-index)" = "1efca0b863ca03ed4c109fb1c55e0bc4bbeb221d3e103d86251046b06a526bd0"
3055+
"checksum cargo_metadata 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "2d6809b327f87369e6f3651efd2c5a96c49847a3ed2559477ecba79014751ee1"
30343056
"checksum cc 1.0.17 (registry+https://github.com/rust-lang/crates.io-index)" = "49ec142f5768efb5b7622aebc3fdbdbb8950a4b9ba996393cb76ef7466e8747d"
30353057
"checksum cfg-if 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "efe5c877e17a9c717a0bf3613b2709f723202c4e4675cc8f12926ded29bcb17e"
30363058
"checksum chalk-engine 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a146c19172c7eea48ea55a7123ac95da786639bc665097f1e14034ee5f1d8699"
@@ -3062,6 +3084,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
30623084
"checksum env_logger 0.5.10 (registry+https://github.com/rust-lang/crates.io-index)" = "0e6e40ebb0e66918a37b38c7acab4e10d299e0463fe2af5d29b9cc86710cfd2a"
30633085
"checksum environment 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "1f4b14e20978669064c33b4c1e0fb4083412e40fe56cbea2eae80fd7591503ee"
30643086
"checksum error-chain 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ff511d5dc435d703f4971bc399647c9bc38e20cb41452e3b9feb4765419ed3f3"
3087+
"checksum error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)" = "07e791d3be96241c77c43846b665ef1384606da2cd2a48730abe606a12906e02"
30653088
"checksum failure 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "934799b6c1de475a012a02dab0ace1ace43789ee4b99bcfbf1a2e3e8ced5de82"
30663089
"checksum failure_derive 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "c7cdda555bb90c9bb67a3b670a0f42de8e73f5981524123ad8578aafec8ddb8b"
30673090
"checksum filetime 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "da4b9849e77b13195302c174324b5ba73eec9b236b24c221a61000daefb95c5f"

src/doc/unstable-book/src/language-features/proc-macro.md

-241
This file was deleted.

src/libproc_macro/diagnostic.rs

+8-8
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use Span;
1313
use rustc_errors as rustc;
1414

1515
/// An enum representing a diagnostic level.
16-
#[unstable(feature = "proc_macro", issue = "38356")]
16+
#[unstable(feature = "proc_macro_diagnostic", issue = "38356")]
1717
#[derive(Copy, Clone, Debug)]
1818
pub enum Level {
1919
/// An error.
@@ -30,7 +30,7 @@ pub enum Level {
3030

3131
/// A structure representing a diagnostic message and associated children
3232
/// messages.
33-
#[unstable(feature = "proc_macro", issue = "38356")]
33+
#[unstable(feature = "proc_macro_diagnostic", issue = "38356")]
3434
#[derive(Clone, Debug)]
3535
pub struct Diagnostic {
3636
level: Level,
@@ -43,15 +43,15 @@ macro_rules! diagnostic_child_methods {
4343
($spanned:ident, $regular:ident, $level:expr) => (
4444
/// Add a new child diagnostic message to `self` with the level
4545
/// identified by this methods name with the given `span` and `message`.
46-
#[unstable(feature = "proc_macro", issue = "38356")]
46+
#[unstable(feature = "proc_macro_diagnostic", issue = "38356")]
4747
pub fn $spanned<T: Into<String>>(mut self, span: Span, message: T) -> Diagnostic {
4848
self.children.push(Diagnostic::spanned(span, $level, message));
4949
self
5050
}
5151

5252
/// Add a new child diagnostic message to `self` with the level
5353
/// identified by this method's name with the given `message`.
54-
#[unstable(feature = "proc_macro", issue = "38356")]
54+
#[unstable(feature = "proc_macro_diagnostic", issue = "38356")]
5555
pub fn $regular<T: Into<String>>(mut self, message: T) -> Diagnostic {
5656
self.children.push(Diagnostic::new($level, message));
5757
self
@@ -61,7 +61,7 @@ macro_rules! diagnostic_child_methods {
6161

6262
impl Diagnostic {
6363
/// Create a new diagnostic with the given `level` and `message`.
64-
#[unstable(feature = "proc_macro", issue = "38356")]
64+
#[unstable(feature = "proc_macro_diagnostic", issue = "38356")]
6565
pub fn new<T: Into<String>>(level: Level, message: T) -> Diagnostic {
6666
Diagnostic {
6767
level: level,
@@ -73,7 +73,7 @@ impl Diagnostic {
7373

7474
/// Create a new diagnostic with the given `level` and `message` pointing to
7575
/// the given `span`.
76-
#[unstable(feature = "proc_macro", issue = "38356")]
76+
#[unstable(feature = "proc_macro_diagnostic", issue = "38356")]
7777
pub fn spanned<T: Into<String>>(span: Span, level: Level, message: T) -> Diagnostic {
7878
Diagnostic {
7979
level: level,
@@ -89,13 +89,13 @@ impl Diagnostic {
8989
diagnostic_child_methods!(span_help, help, Level::Help);
9090

9191
/// Returns the diagnostic `level` for `self`.
92-
#[unstable(feature = "proc_macro", issue = "38356")]
92+
#[unstable(feature = "proc_macro_diagnostic", issue = "38356")]
9393
pub fn level(&self) -> Level {
9494
self.level
9595
}
9696

9797
/// Emit the diagnostic.
98-
#[unstable(feature = "proc_macro", issue = "38356")]
98+
#[unstable(feature = "proc_macro_diagnostic", issue = "38356")]
9999
pub fn emit(self) {
100100
::__internal::with_sess(move |sess, _| {
101101
let handler = &sess.span_diagnostic;

0 commit comments

Comments
 (0)