mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
minor: use minicore
This commit is contained in:
parent
181184a350
commit
cc73abf72c
3 changed files with 13 additions and 85 deletions
|
@ -908,9 +908,7 @@ fn main() {
|
|||
fn unit_structs_have_no_type_hints() {
|
||||
check_types(
|
||||
r#"
|
||||
enum Result<T, E> { Ok(T), Err(E) }
|
||||
use Result::*;
|
||||
|
||||
//- minicore: result
|
||||
struct SyntheticSyntax;
|
||||
|
||||
fn main() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue