about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2018-11-22 10:37:55 +0100
committerGitHub <noreply@github.com>2018-11-22 10:37:55 +0100
commit6afecfd7855df5a3d31c9d7e70488b128c30f8e0 (patch)
tree9ed1499e0b98d9a10de252bdb6463d83a491ba9b /src
parent1bc97081a59ee0860f97d7a6d81727f5d42021af (diff)
parent9ce7b11e7c6ac970c4a507f27ea340d4dd4e8960 (diff)
downloadrust-6afecfd7855df5a3d31c9d7e70488b128c30f8e0.tar.gz
rust-6afecfd7855df5a3d31c9d7e70488b128c30f8e0.zip
Rollup merge of #56106 - bjorn3:patch-1, r=alexcrichton
Remove some incorrect doc comments
Diffstat (limited to 'src')
-rw-r--r--src/librustc_codegen_ssa/mono_item.rs6
-rw-r--r--src/librustc_mir/monomorphize/item.rs6
2 files changed, 0 insertions, 12 deletions
diff --git a/src/librustc_codegen_ssa/mono_item.rs b/src/librustc_codegen_ssa/mono_item.rs
index 53acb3e376c..8fe89791969 100644
--- a/src/librustc_codegen_ssa/mono_item.rs
+++ b/src/librustc_codegen_ssa/mono_item.rs
@@ -8,12 +8,6 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-//! Walks the crate looking for items/impl-items/trait-items that have
-//! either a `rustc_symbol_name` or `rustc_item_path` attribute and
-//! generates an error giving, respectively, the symbol name or
-//! item-path. This is used for unit testing the code that generates
-//! paths etc in all kinds of annoying scenarios.
-
 use base;
 use rustc::hir;
 use rustc::hir::def::Def;
diff --git a/src/librustc_mir/monomorphize/item.rs b/src/librustc_mir/monomorphize/item.rs
index 9d69a5669b1..9c90e5ffd3c 100644
--- a/src/librustc_mir/monomorphize/item.rs
+++ b/src/librustc_mir/monomorphize/item.rs
@@ -8,12 +8,6 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-//! Walks the crate looking for items/impl-items/trait-items that have
-//! either a `rustc_symbol_name` or `rustc_item_path` attribute and
-//! generates an error giving, respectively, the symbol name or
-//! item-path. This is used for unit testing the code that generates
-//! paths etc in all kinds of annoying scenarios.
-
 use monomorphize::Instance;
 use rustc::hir;
 use rustc::hir::def_id::DefId;