Awiteb

Results 28 comments of Awiteb

> A possible solution could be checking if the current token is for initializing an item? Like, struct/enum/macro, etc. I wrote this solution, but I don't know if I can...

I can't work on the problem unfortunately, whoever will assign it to him you can solve it this way ```rust can_be_public = ["enum", "struct", "fn", "extern", "trait"]; if can_be_public.contains(&self.token.as_str()) {...

I mean this ![image](https://user-images.githubusercontent.com/59842932/165135875-00b7cfd1-887b-45be-ab1e-495cbf485ac1.png)

Ok i'll worked on. Can you review the headers #18, I'm done with it

I want to claim this :octocat:

I guess the problem is. rustc should write you a note of `try_into` to `Result` if you're writing this ```rust let foo: Result = bar.into(); ``` **If it is i...

Yes i see, something like ```rust impl const From for Result where U: ~const TryFrom, { fn from(t: T) -> Self { U::try_from(t) } } ``` in the core. Can...