about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDeadbeef <ent3rm4n@gmail.com>2023-02-20 06:26:28 +0000
committerDeadbeef <ent3rm4n@gmail.com>2023-02-20 06:26:28 +0000
commit255eb217e9f5eeb72fc0f10386c2d55f37b10bc8 (patch)
tree6cc86208aa44bacfe8df76c0cc7ecd3498d8d7a3
parent96834f0231277e8feb8dcf185b2af082ad2e39f6 (diff)
downloadrust-255eb217e9f5eeb72fc0f10386c2d55f37b10bc8.tar.gz
rust-255eb217e9f5eeb72fc0f10386c2d55f37b10bc8.zip
Remove old FIXME that no longer applies
it looks like Encodable was fallible at some point, but that was changed
which means that this FIXME is no longer applicable
-rw-r--r--compiler/rustc_serialize/src/serialize.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/rustc_serialize/src/serialize.rs b/compiler/rustc_serialize/src/serialize.rs
index 751b209f11a..377c364961b 100644
--- a/compiler/rustc_serialize/src/serialize.rs
+++ b/compiler/rustc_serialize/src/serialize.rs
@@ -430,11 +430,6 @@ impl<D: Decoder, T: Decodable<D> + Copy> Decodable<D> for Cell<T> {
     }
 }
 
-// FIXME: #15036
-// Should use `try_borrow`, returning an
-// `encoder.error("attempting to Encode borrowed RefCell")`
-// from `encode` when `try_borrow` returns `None`.
-
 impl<S: Encoder, T: Encodable<S>> Encodable<S> for RefCell<T> {
     fn encode(&self, s: &mut S) {
         self.borrow().encode(s);