about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2020-07-10 16:05:35 -0700
committerEsteban Küber <esteban@kuber.com.ar>2020-07-14 10:50:24 -0700
commitb7db6bb5af8187ccb9be1076dd99d3cbb7fd8fa5 (patch)
tree948c584ddebe707a794fa28f477006d00ba5d317 /src/libcore
parent28e6f1f5b9370334271042638e7e368319152d55 (diff)
downloadrust-b7db6bb5af8187ccb9be1076dd99d3cbb7fd8fa5.tar.gz
rust-b7db6bb5af8187ccb9be1076dd99d3cbb7fd8fa5.zip
Remove `Sized` `on_unimplemented` note
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/marker.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libcore/marker.rs b/src/libcore/marker.rs
index fdcfae8530a..6ddd41a26f1 100644
--- a/src/libcore/marker.rs
+++ b/src/libcore/marker.rs
@@ -84,11 +84,8 @@ impl<T: ?Sized> !Send for *mut T {}
 #[stable(feature = "rust1", since = "1.0.0")]
 #[lang = "sized"]
 #[rustc_on_unimplemented(
-    on(parent_trait = "std::path::Path", label = "borrow the `Path` instead"),
     message = "the size for values of type `{Self}` cannot be known at compilation time",
-    label = "doesn't have a size known at compile-time",
-    note = "to learn more, visit <https://doc.rust-lang.org/book/\
-            ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>"
+    label = "doesn't have a size known at compile-time"
 )]
 #[fundamental] // for Default, for example, which requires that `[T]: !Default` be evaluatable
 #[rustc_specialization_trait]