Esteban Küber  
		
	
	
		ec7a188f16 
		
	 
	
	
	More accurate suggestions when writing wrong style of enum variant literal  
		
			... 
			```
error[E0533]: expected value, found struct variant `E::Empty3`
  --> $DIR/empty-struct-braces-expr.rs:18:14
   |
LL |     let e3 = E::Empty3;
   |              ^^^^^^^^^ not a value
   |
help: you might have meant to create a new value of the struct
   |
LL |     let e3 = E::Empty3 {};
   |                        ++
```
```
error[E0533]: expected value, found struct variant `E::V`
  --> $DIR/struct-literal-variant-in-if.rs:10:13
   |
LL |     if x == E::V { field } {}
   |             ^^^^ not a value
   |
help: you might have meant to create a new value of the struct
   |
LL |     if x == (E::V { field }) {}
   |             +              +
```
```
error[E0618]: expected function, found enum variant `Enum::Unit`
  --> $DIR/suggestion-highlights.rs:15:5
   |
LL |     Unit,
   |     ---- enum variant `Enum::Unit` defined here
...
LL |     Enum::Unit();
   |     ^^^^^^^^^^--
   |     |
   |     call expression requires function
   |
help: `Enum::Unit` is a unit enum variant, and does not take parentheses to be constructed
   |
LL -     Enum::Unit();
LL +     Enum::Unit;
   |
```
```
error[E0599]: no variant or associated item named `tuple` found for enum `Enum` in the current scope
  --> $DIR/suggestion-highlights.rs:36:11
   |
LL | enum Enum {
   | --------- variant or associated item `tuple` not found for this enum
...
LL |     Enum::tuple;
   |           ^^^^^ variant or associated item not found in `Enum`
   |
help: there is a variant with a similar name
   |
LL |     Enum::Tuple(/* i32 */);
   |           ~~~~~~~~~~~~~~~~;
   |
``` 
		
	 
 
		2024-07-18 18:20:35 +00:00 
	 
	
	
		  ..
	 
	
	
		
			
			
			
			
			
			2024-03-07 21:40:11 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2023-09-25 15:56:36 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2023-09-19 18:15:23 +02:00 
		 
	
		
	
		
			
			
			
			
			
			2023-09-19 18:15:23 +02:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-02 03:25:04 +01:00 
		 
	
		
			
			
			
			
			
			2024-02-02 03:25:04 +01:00 
		 
	
		
			
			
			
			
			
			2024-02-02 03:25:04 +01:00 
		 
	
		
			
			
			
			
			
			2024-02-02 03:25:04 +01:00 
		 
	
		
			
			
			
			
			
			2024-03-14 13:32:54 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2023-09-25 15:56:36 +00:00 
		 
	
		
			
			
			
			
			
			2024-07-06 19:22:05 +00:00 
		 
	
		
			
			
			
			
			
			2024-05-13 15:11:28 +02:00 
		 
	
		
			
			
			
			
			
			2024-05-13 15:11:28 +02:00 
		 
	
		
			
			
			
			
			
			2024-01-14 12:31:28 +00:00 
		 
	
		
			
			
			
			
			
			2024-01-14 12:31:28 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
			
			
			
			
			
			2024-04-15 21:05:15 -04:00 
		 
	
		
			
			
			
			
			
			2024-04-15 21:05:15 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
			
			
			
			
			
			2024-07-06 19:22:05 +00:00 
		 
	
		
			
			
			
			
			
			2023-09-10 23:06:14 +02:00 
		 
	
		
			
			
			
			
			
			2023-09-10 23:06:14 +02:00 
		 
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
			
			
			
			
			
			2024-04-21 15:43:43 -03:00 
		 
	
		
			
			
			
			
			
			2024-04-21 15:43:43 -03:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-14 11:00:30 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
			
			
			
			
			
			2024-01-03 18:59:42 +00:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
			
			
			
			
			
			2024-01-14 12:31:34 +00:00 
		 
	
		
			
			
			
			
			
			2024-01-14 12:31:34 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2023-09-25 15:56:36 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2024-06-13 20:22:21 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
			
			
			
			
			
			2024-07-18 18:20:35 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2024-07-18 18:20:35 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2024-06-13 20:22:21 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2024-06-13 20:22:21 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
			
			
			
			
			
			2024-03-18 16:08:58 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2023-11-30 20:59:51 +01:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2024-06-13 20:22:21 +00:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2023-10-13 19:13:56 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2024-07-06 19:22:05 +00:00 
		 
	
		
			
			
			
			
			
			2023-09-10 23:06:14 +02:00 
		 
	
		
			
			
			
			
			
			2024-01-14 12:31:28 +00:00 
		 
	
		
			
			
			
			
			
			2023-09-10 23:06:14 +02:00 
		 
	
		
			
			
			
			
			
			2024-01-14 12:31:28 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2023-10-13 21:01:36 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2024-06-13 20:22:21 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
			
			
			
			
			
			2024-06-03 20:29:09 -04:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
			
			
			
			
			
			2023-09-23 01:54:05 +00:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
			
			
			
			
			
			2024-02-29 11:05:40 +11:00 
		 
	
		
			
			
			
			
			
			2024-02-29 11:05:40 +11:00 
		 
	
		
			
			
			
			
			
			2024-02-29 11:05:40 +11:00 
		 
	
		
			
			
			
			
			
			2024-02-29 11:05:40 +11:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2024-03-14 09:54:42 +08:00 
		 
	
		
			
			
			
			
			
			2024-03-14 09:54:42 +08:00 
		 
	
		
			
			
			
			
			
			2024-03-14 09:54:42 +08:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2023-09-28 19:47:58 +08:00 
		 
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
			
			
			
			
			
			2023-12-06 21:48:19 +08:00 
		 
	
		
			
			
			
			
			
			2023-12-06 21:48:19 +08:00 
		 
	
		
			
			
			
			
			
			2023-12-06 23:19:39 +08:00 
		 
	
		
			
			
			
			
			
			2023-12-06 23:19:39 +08:00 
		 
	
		
			
			
			
			
			
			2024-02-14 14:08:51 +08:00 
		 
	
		
			
			
			
			
			
			2024-02-14 14:08:51 +08:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
			
			
			
			
			
			2024-07-11 12:23:44 +10:00 
		 
	
		
			
			
			
			
			
			2024-03-20 09:49:57 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2024-06-20 19:59:27 +08:00 
		 
	
		
			
			
			
			
			
			2024-06-20 19:59:27 +08:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
			
			
			
			
			
			2024-04-03 16:03:22 -04:00 
		 
	
		
			
			
			
			
			
			2024-04-03 16:03:22 -04:00 
		 
	
		
			
			
			
			
			
			2024-03-14 13:32:54 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2024-07-18 18:20:35 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2024-07-11 12:23:44 +10:00 
		 
	
		
			
			
			
			
			
			2024-03-20 09:49:57 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
			
			
			
			
			
			2023-09-25 15:56:36 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
			
			
			
			
			
			2024-07-18 00:00:04 +00:00 
		 
	
		
			
			
			
			
			
			2024-03-01 13:48:20 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
			
			
			
			
			
			2024-07-18 00:00:04 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2024-07-18 00:00:04 +00:00 
		 
	
		
			
			
			
			
			
			2023-11-27 01:02:37 +00:00 
		 
	
		
			
			
			
			
			
			2023-11-27 01:02:37 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2023-12-07 23:00:46 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2023-10-02 19:12:42 +02:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
			
			
			
			
			
			2024-07-05 19:40:09 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2024-03-07 14:26:31 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2023-09-25 15:56:36 +00:00 
		 
	
		
			
			
			
			
			
			2023-09-10 23:06:14 +02:00 
		 
	
		
			
			
			
			
			
			2023-09-10 23:06:14 +02:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2024-05-23 07:23:59 +05:30 
		 
	
		
			
			
			
			
			
			2024-05-23 07:23:59 +05:30 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2024-01-05 21:56:32 +01:00 
		 
	
		
			
			
			
			
			
			2024-05-04 11:30:38 +02:00 
		 
	
		
			
			
			
			
			
			2024-05-04 11:30:38 +02:00 
		 
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2024-07-06 19:22:05 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2024-02-22 18:05:28 +00:00 
		 
	
		
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2024-07-06 19:22:05 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2023-11-24 19:15:52 +01:00 
		 
	
		
			
			
			
			
			
			2024-03-14 09:54:42 +08:00 
		 
	
		
			
			
			
			
			
			2024-03-14 09:54:42 +08:00 
		 
	
		
			
			
			
			
			
			2024-03-14 09:54:42 +08:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00 
		 
	
		
	
		
	
		
	
		
			
			
			
			
			
			2024-01-14 12:31:34 +00:00 
		 
	
		
			
			
			
			
			
			2024-01-14 12:31:34 +00:00 
		 
	
		
			
			
			
			
			
			2024-02-16 20:02:50 +00:00