Skip to content

Commit 7f1d8ac

Browse files
committed
Update RFC and tracking issue numbers
1 parent 7fa79ca commit 7f1d8ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

text/0000-import-trait-associated-functions.md renamed to text/3591-import-trait-associated-functions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
- Feature Name: `import-trait-associated-functions`
22
- Start Date: 2024-03-19
3-
- RFC PR: [rust-lang/rfcs#0000](https://github.com/rust-lang/rfcs/pull/0000)
4-
- Rust Issue: [rust-lang/rust#0000](https://github.com/rust-lang/rust/issues/0000)
3+
- RFC PR: [rust-lang/rfcs#3591](https://github.com/rust-lang/rfcs/pull/3591)
4+
- Rust Issue: [rust-lang/rust#134691](https://github.com/rust-lang/rust/issues/134691)
55

66
# Summary
77
[summary]: #summary
@@ -268,4 +268,4 @@ As mentioned in [motivation], there was a rejected [RFC](https://github.com/rust
268268

269269
This RFC does not propose the ability to import `Type::method` where `method` is contained in an `impl` block. Such a feature would be a natural extension of this work, and would enable numeric features like that discussed in [motivation] without the need for the [num_traits](https://docs.rs/num-traits/latest/num_traits/) crate. This feature is not proposed in this RFC since initial investigations revealed that it would be [difficult](https://rust-lang.zulipchat.com/#narrow/stream/213817-t-lang/topic/Writing.20an.20RFC.20for.20.60use.20Default.3A.3Adefault.60/near/427804375) to implement in today's rustc.
270270

271-
If we add a compatibility mechanism to implement a supertrait method when implementing its subtrait, without having to separately implement the supertrait (such that a new supertrait can be extracted from a trait without breaking compatibility), we would also need to lift the limitation on using a supertrait method via a subtrait.
271+
If we add a compatibility mechanism to implement a supertrait method when implementing its subtrait, without having to separately implement the supertrait (such that a new supertrait can be extracted from a trait without breaking compatibility), we would also need to lift the limitation on using a supertrait method via a subtrait.

0 commit comments

Comments
 (0)